Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for isIndex (0.14 sec)

  1. src/database/sql/sql.go

    	// allocation to store the index. But generally the set will be small and
    	// under a scannable-threshold. As an optimization, we could permit the *int
    	// to be nil when the set is small and should be scanned. This works even if
    	// the set grows over the threshold with delete handles outstanding because
    	// an element can only move to a lower index. So if it starts with a nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"size(self.array.filter(e, e%2 == 0)) == 3",
    				"self.array.map(e, e * 20).filter(e, e > 50).exists(e, e == 60)",
    				"size(self.array) == 8",
    			},
    			errors: map[string]string{
    				"self.array[100] == 0": "index out of bounds: 100",
    			},
    		},
    		{name: "listSet access",
    			obj: map[string]interface{}{
    				"set": []interface{}{1, 2, 3, 4, 5},
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    			// No ellipses pattern. Anonymize host name from every pool arg
    			pools := strings.Fields(poolsArgs)
    			anonPools = make([]string, len(pools))
    			for index, arg := range pools {
    				anonPools[index] = anonAddr(arg)
    			}
    			return cmdLineWithoutPools + strings.Join(anonPools, " ")
    		}
    
    		// Ellipses pattern in pool args. Regex groups:
    		// 1 - server prefix
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			t.Errorf("%v: expected no error, but got %v", tc.name, err)
    		}
    	}
    }
    
    type predictableNameGenerator struct {
    	index int
    }
    
    func (p *predictableNameGenerator) GenerateName(base string) string {
    	p.index++
    	return fmt.Sprintf("%s%d", base, p.index)
    }
    
    func TestStoreCreateGenerateNameConflict(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/validation/validation_test.go

    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    			Name: "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    				URL: strPtr("arg#backwards=thisis?html.index/port:host//:https"),
    			},
    		},
    		}, true),
    		expectedError: `host must be specified`,
    	}, {
    		name: "path must start with slash",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

           an input argument if the initial value of the resource is read, or to the
           output if the initial value is not read.
    
         . 'tf.aliasing_output' is the index of the function output that is an alias
           of the input argument. This attribute is added only to the input argument
           when the initial value of the corresponding resource is read, and the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	authority = (*SidIdentifierAuthority)(unsafe.Pointer(r0))
    	return
    }
    
    func getSidSubAuthority(sid *SID, index uint32) (subAuthority *uint32) {
    	r0, _, _ := syscall.Syscall(procGetSidSubAuthority.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(index), 0)
    	subAuthority = (*uint32)(unsafe.Pointer(r0))
    	return
    }
    
    func getSidSubAuthorityCount(sid *SID) (count *uint8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		rs := partNumberToRangeSpec(oinfo, partNumber)
    		size, err := oinfo.GetActualSize()
    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		off, length, err := rs.GetOffsetLength(size)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	// Make sure only one node running resync on the cluster.
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	for index := range buckets {
    		bucket := buckets[index].Name
    
    		meta, err := loadBucketResyncMetadata(ctx, bucket, objAPI)
    		if err != nil {
    			if !errors.Is(err, errVolumeNotFound) {
    				replLogIf(ctx, err)
    			}
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_generator.go

    	// when calling MarkVolumeAsDetached
    	volumeSpecMap := make(map[*volume.Spec]v1.UniqueVolumeName)
    
    	// Iterate each volume spec and put them into a map index by the pluginName
    	for _, volumeAttached := range attachedVolumes {
    		if volumeAttached.VolumeSpec == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
Back to top