Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 261 for yield4 (0.19 sec)

  1. test/range4.go

    package main
    
    var gj int
    
    func yield4x(yield func() bool) {
    	_ = yield() && yield() && yield() && yield()
    }
    
    func yield4(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3) && yield(4)
    }
    
    func yield3(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3)
    }
    
    func yield2(yield func(int) bool) {
    	_ = yield(1) && yield(2)
    }
    
    func testfunc0() {
    	j := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 16:00:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. test/escape_field.go

    // BAD: we are not leaking param x, only x.p2
    func field6(x *X) { // ERROR "leaking param content: x$"
    	sink = x.p2
    }
    
    func field6a() {
    	i := 0 // ERROR "moved to heap: i$"
    	var x X
    	// BAD: &i should not escape
    	x.p1 = &i
    	field6(&x)
    }
    
    func field7() {
    	i := 0
    	var y Y
    	y.x.p1 = &i
    	x := y.x
    	var y1 Y
    	y1.x = x
    	_ = y1.x.p1
    }
    
    func field8() {
    	i := 0 // ERROR "moved to heap: i$"
    	var y Y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    โšซ๏ธ 5๏ธโƒฃ๐Ÿ“† ๐Ÿ˜‹ ๐Ÿคš `HTTPException` โš–๏ธ ๐ŸŽ ๐Ÿšช ๐Ÿ“Ÿ, โฎ๏ธ `yield`. โœ‹๏ธ **โšซ๏ธ ๐Ÿ† ๐Ÿšซ ๐Ÿ‘ท**.
    
    ๐Ÿšช ๐Ÿ“Ÿ ๐Ÿ”— โฎ๏ธ `yield` ๐Ÿ› ๏ธ *โฎ๏ธ* ๐Ÿ“จ ๐Ÿ“จ, [โš  ๐Ÿ•โ€๐Ÿฆบ](../handling-errors.md#_4){.internal-link target=_blank} ๐Ÿ”œ โœ”๏ธ โช ๐Ÿƒ. ๐Ÿ“ค ๐Ÿ•ณ ๐Ÿ˜ฝ โš  ๐Ÿšฎ ๐Ÿ‘† ๐Ÿ”— ๐Ÿšช ๐Ÿ“Ÿ (โฎ๏ธ `yield`).
    
    , ๐Ÿšฅ ๐Ÿ‘† ๐Ÿคš `HTTPException` โฎ๏ธ `yield`, ๐Ÿ”ข (โš–๏ธ ๐Ÿ™† ๐Ÿ›ƒ) โš  ๐Ÿ•โ€๐Ÿฆบ ๐Ÿ‘ˆ โœŠ `HTTPException`โ“‚ & ๐Ÿ“จ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” 4๏ธโƒฃ0๏ธโƒฃ0๏ธโƒฃ ๐Ÿ“จ ๐Ÿ† ๐Ÿšซ ๐Ÿ“ค โœŠ ๐Ÿ‘ˆ โš  ๐Ÿšซ๐Ÿ”œ.
    
    ๐Ÿ‘‰ โšซ๏ธโ” โœ” ๐Ÿ•ณ โš’ ๐Ÿ”— (โœ… ๐Ÿ’ฝ ๐ŸŽ‰), ๐Ÿ–ผ, โš™๏ธ ๐Ÿ–ฅ ๐Ÿ“‹.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. pkg/test/echo/fields.go

    	MethodField           Field = "Method"
    	ProtocolField         Field = "Proto"
    	AlpnField             Field = "Alpn"
    	RequestHeaderField    Field = "RequestHeader"
    	ResponseHeaderField   Field = "ResponseHeader"
    	ClusterField          Field = "Cluster"
    	IstioVersionField     Field = "IstioVersion"
    	IPField               Field = "IP" // The Requesterโ€™s IP Address.
    	LatencyField          Field = "Latency"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. test/typeparam/pairimp.dir/main.go

    	if got, want := unsafe.Sizeof(p.Field1), uintptr(4); got != want {
    		panic(fmt.Sprintf("unexpected f1 size == %d, want %d", got, want))
    	}
    	if got, want := unsafe.Sizeof(p.Field2), uintptr(8); got != want {
    		panic(fmt.Sprintf("unexpected f2 size == %d, want %d", got, want))
    	}
    
    	type mypair struct {
    		Field1 int32
    		Field2 int64
    	}
    	mp := mypair(p)
    	if mp.Field1 != 1 || mp.Field2 != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 716 bytes
    - Viewed (0)
  6. hack/testdata/CRD/multi-crd-list-updated-field.yaml

      metadata:
        name: test-list
        labels:
          pruneGroup: "true"
      someField: modifiedField
      otherField: field2
    - kind: Bar
      apiVersion: company.com/v1
      metadata:
        name: test-list
        labels:
          pruneGroup: "true"
      someField: modifiedField
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 349 bytes
    - Viewed (0)
  7. hack/testdata/CRD/multi-crd-list.yaml

    - kind: Foo
      apiVersion: company.com/v1
      metadata:
        name: test-list
        labels:
          pruneGroup: "true"
      someField: field1
      otherField: field2
    - kind: Bar
      apiVersion: company.com/v1
      metadata:
        name: test-list
        labels:
          pruneGroup: "true"
      someField: field1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 335 bytes
    - Viewed (0)
  8. schema/index_test.go

    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldD"}},
    				// Note: Duplicate Columns
    				{Field: &schema.Field{Name: "FieldD"}},
    			},
    		},
    		"uniq_field_e1_e2": {
    			Name:  "uniq_field_e1_e2",
    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldE1"}},
    				{Field: &schema.Field{Name: "FieldE2"}},
    			},
    		},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                assertTrue(source.get("field1").toString().startsWith("test"));
                valueSet.add(source.get("field1").toString());
                count++;
            }
            assertEquals(num, count);
            assertEquals(num, valueSet.size());
        }
    
        @Test
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue52698.go

    	_ C2[P]
    }
    
    type C2[P any] struct {
    	_ P
    }
    
    // test case from issue
    type T23 interface {
    	~struct {
    		Field0 T13[T15]
    	}
    }
    
    type T1[P1 interface {
    }] struct {
    	Field2 P1
    }
    
    type T13[P2 interface {
    }] struct {
    	Field2 T1[P2]
    }
    
    type T15 struct {
    	Field0 T13[string]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 823 bytes
    - Viewed (0)
Back to top