HomeSort by relevance Sort by last modified time
    Searched refs:lambda (Results 526 - 550 of 2665) sorted by null

<<21222324252627282930>>

  /external/python/cpython2/Lib/plat-riscos/
rourl2path.py 45 components = map(lambda x: urllib.unquote(x).translate(__slash_dot), components)
  /external/python/cpython2/Lib/test/
test_sets.py 510 self.assertRaises(TypeError, lambda: self.set < self.other)
511 self.assertRaises(TypeError, lambda: self.set <= self.other)
512 self.assertRaises(TypeError, lambda: self.set > self.other)
513 self.assertRaises(TypeError, lambda: self.set >= self.other)
515 self.assertRaises(TypeError, lambda: self.other < self.set)
516 self.assertRaises(TypeError, lambda: self.other <= self.set)
517 self.assertRaises(TypeError, lambda: self.other > self.set)
518 self.assertRaises(TypeError, lambda: self.other >= self.set)
535 self.assertRaises(TypeError, lambda: self.set | self.other)
536 self.assertRaises(TypeError, lambda: self.other | self.set
    [all...]
  /external/python/cpython2/Lib/
types.py 44 LambdaType = type(lambda: None) # Same as FunctionType
  /external/python/cpython2/Mac/Modules/cg/
cgsupport.py 182 f.docstring = lambda: "(CGrafPtr) -> CGContextRef"
  /external/python/cpython2/Mac/Modules/win/
winedit.py 68 f.docstring = lambda: "(int)->int. Automatically DisposeHandle the object on Python object cleanup"
  /external/python/cpython3/Lib/
hmac.py 61 self.digest_cons = lambda d=b'': _hashlib.new(digestmod, d)
63 self.digest_cons = lambda d=b'': digestmod.new(d)
174 digest_cons = lambda d=b'': _hashlib.new(digest, d)
176 digest_cons = lambda d=b'': digest.new(d)
  /external/python/cpython3/Lib/lib2to3/tests/data/
py2_test_grammar.py 298 ### lambdef: 'lambda' [varargslist] ':' test
299 l1 = lambda : 0
301 l2 = lambda : a[d] # XXX just testing the expression
302 l3 = lambda : [2 < x for x in [-1, 3, 0L]]
304 l4 = lambda x = lambda y = lambda z=1 : z : y() : x()
306 l5 = lambda x, y, z=2: x + y + z
309 check_syntax_error(self, "lambda x: x = 2")
310 check_syntax_error(self, "lambda (None,): None"
    [all...]
py3_test_grammar.py 358 ### lambdef: 'lambda' [varargslist] ':' test
359 l1 = lambda : 0
361 l2 = lambda : a[d] # XXX just testing the expression
362 l3 = lambda : [2 < x for x in [-1, 3, 0]]
364 l4 = lambda x = lambda y = lambda z=1 : z : y() : x()
366 l5 = lambda x, y, z=2: x + y + z
369 check_syntax_error(self, "lambda x: x = 2")
370 check_syntax_error(self, "lambda (None,): None"
    [all...]
  /external/python/cpython3/Lib/test/
test_cprofile.py 30 obj = _lsprof.Profiler(lambda: int)
  /external/python/cpython3/Lib/unittest/test/testmock/
testsentinel.py 26 self.assertRaises(AttributeError, lambda: sentinel.__bases__)
  /external/python/cpython3/Tools/scripts/
checkpyc.py 12 else lambda path: path + 'c')
make_ctype.py 24 method = lambda: c.isdigit() or c.upper() in "ABCDEF"
  /external/skia/infra/bots/recipe_modules/build/
chromecast.py 41 quote = lambda x: '"%s"' % x
  /external/skia/tools/
build_workaround_header.py 42 write = lambda line: f.write(line + ' ' * (max_len - len(line)) + '\\\n')
  /external/skia/tools/skqp/
generate_gn_args 35 gn_bool = lambda b : 'true' if b else 'false'
  /external/skqp/infra/bots/recipe_modules/build/
chromecast.py 41 quote = lambda x: '"%s"' % x
  /external/skqp/tools/
build_workaround_header.py 42 write = lambda line: f.write(line + ' ' * (max_len - len(line)) + '\\\n')
  /external/skqp/tools/skqp/
generate_gn_args 35 gn_bool = lambda b : 'true' if b else 'false'
  /external/tensorflow/tensorflow/contrib/graph_editor/tests/
match.py 50 if op is None, return a lambda function which does the type checking.
55 return lambda op: op.node_def.op in op_types
76 return lambda op, regex=regex_: regex.search(op.name) is not None
78 return lambda op, match_op=elem: op is match_op
82 return lambda op: True
  /external/tensorflow/tensorflow/contrib/learn/python/learn/utils/
inspect_checkpoint.py 68 parser.register("type", "bool", lambda v: v.lower() == "true")
  /external/tensorflow/tensorflow/contrib/receptive_field/python/util/examples/
csv_to_markdown_table.py 70 parser.register('type', 'bool', lambda v: v.lower() == 'true')
write_inception_resnet_v2_graph.py 49 parser.register('type', 'bool', lambda v: v.lower() == 'true')
  /external/tensorflow/tensorflow/python/autograph/lang/
special_functions.py 118 original_call = lambda x: x
  /external/tensorflow/tensorflow/python/data/experimental/benchmarks/
optimize_benchmark.py 47 dataset = dataset.map(lambda x: x)
88 dataset = dataset.map(lambda x: x + 5).filter(
89 lambda x: math_ops.greater_equal(x - 5, 0))
129 dataset = dataset.filter(lambda x: math_ops.greater_equal(x - 5, 0))
  /external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
latency_all_edges_test.py 36 "LatencyStats"])).map(lambda x: x * x).prefetch(1)

Completed in 2033 milliseconds

<<21222324252627282930>>