Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 603 for yield4 (0.11 sec)

  1. staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields.go

    	// except that fields with JSON tags are promoted.
    
    	// The fields are sorted in primary order of name, secondary order
    	// of field index length. Loop over names; for each name, delete
    	// hidden fields by choosing the one dominant field that survives.
    	out := fields[:0]
    	for advance, i := 0, 0; i < len(fields); i += advance {
    		// One iteration per name.
    		// Find the sequence of fields with the name of this first field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 13.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fields.go

    )
    
    // EmptyFields represents a set with no paths
    // It looks like metav1.Fields{Raw: []byte("{}")}
    var EmptyFields = func() metav1.FieldsV1 {
    	f, err := SetToFields(*fieldpath.NewSet())
    	if err != nil {
    		panic("should never happen")
    	}
    	return f
    }()
    
    // FieldsToSet creates a set paths from an input trie of fields
    func FieldsToSet(f metav1.FieldsV1) (s fieldpath.Set, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. hack/testdata/CRD/foo-deleted-subfield.yaml

    kind: Foo
    apiVersion: company.com/v1
    metadata:
      name: test
      labels:
        pruneGroup: "true"
    someField: field1
    otherField: field2
    nestedField:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 176 bytes
    - Viewed (0)
  4. hack/testdata/CRD/foo-added-subfield.yaml

    kind: Foo
    apiVersion: company.com/v1
    metadata:
      name: test
      labels:
        pruneGroup: "true"
    someField: field1
    otherField: field2
    nestedField:
      someSubfield: modifiedSubfield
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 201 bytes
    - Viewed (0)
  5. test/typeparam/pairimp.dir/a.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type Pair[F1, F2 any] struct {
    	Field1 F1
    	Field2 F2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 226 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation_test.go

    								"field1": {
    									Type: "integer",
    								},
    								"field2": {
    									Type: "integer",
    								},
    							},
    							XValidations: apiextensions.ValidationRules{
    								{
    									Rule: "self.field1 < self.field2",
    								},
    							},
    							Default: jsonPtr(map[string]interface{}{"field1": 1, "field2": 2}),
    						},
    					},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. test/rangegen.go

    	if verbose {
    		println("did", "%[3]s", "%[4]s", len(all))
    	}
    }
    `
    
    var mainCode = `
    
    func main() {
    	if verbose {
    		println("main")
    	}
    	%s
    }
    
    func yield2(yield func(int)bool) { _ = yield(1) && yield(2) }
    var slice2 = []int{1,2}
    
    type output struct {
    	ret int
    	trace []any
    }
    
    func (o *output) log(x any) {
    	o.trace = append(o.trace, x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 23:35:19 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     *       byte sequences under the covers.
     *   <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length
     *       (given by {@link #bits}). For example, {@link Hashing#sha1} produces a 160-bit number,
     *       while {@link Hashing#murmur3_32()} yields only 32 bits. Because a {@code long} value is
     *       clearly insufficient to hold all hash code values, this API represents a hash code as an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/HashFunction.java

     *       byte sequences under the covers.
     *   <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length
     *       (given by {@link #bits}). For example, {@link Hashing#sha1} produces a 160-bit number,
     *       while {@link Hashing#murmur3_32()} yields only 32 bits. Because a {@code long} value is
     *       clearly insufficient to hold all hash code values, this API represents a hash code as an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			},
    		},
    		{name: "preserve unknown fields",
    			obj: map[string]interface{}{
    				"withUnknown": map[string]interface{}{
    					"field1": "a",
    					"field2": "b",
    				},
    				"withUnknownList": []interface{}{
    					map[string]interface{}{
    						"field1": "a",
    						"field2": "b",
    					},
    					map[string]interface{}{
    						"field1": "x",
    						"field2": "y",
    					},
    					map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
Back to top