Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for addKind (0.11 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    		},
    		"backoff-wrong-old-object": {
    			pod:         podWithClaimName,
    			oldObj:      "not-a-claim",
    			newObj:      pendingImmediateClaim,
    			expectedErr: true,
    		},
    		"skip-adding-finalizer": {
    			pod:    podWithClaimName,
    			claims: []*resourcev1alpha2.ResourceClaim{pendingImmediateClaim},
    			oldObj: pendingImmediateClaim,
    			newObj: func() *resourcev1alpha2.ResourceClaim {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    			t.Errorf("MustParse did not panic")
    		}
    	}()
    	_ = MustParse("Non-Numeric")
    }
    
    // TestQuantityAddZeroPreservesSuffix verifies that a suffix is preserved
    // independent of the order of operations when adding a zero and non-zero val
    func TestQuantityAddZeroPreservesSuffix(t *testing.T) {
    	testValues := []string{"100m", "1Gi"}
    	zero := MustParse("0")
    	for _, testValue := range testValues {
    		value := MustParse(testValue)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loader/loader.go

    }
    
    // CreateExtSym creates a new external symbol with the specified name
    // without adding it to any lookup tables, returning a Sym index for it.
    func (l *Loader) CreateExtSym(name string, ver int) Sym {
    	return l.newExtSym(name, ver)
    }
    
    // CreateStaticSym creates a new static symbol with the specified name
    // without adding it to any lookup tables, returning a Sym index for it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	addSubst := true
    
    	q := st.cvQualifiers()
    	if q != nil {
    		if len(st.str) == 0 {
    			st.fail("expected type")
    		}
    
    		// CV-qualifiers before a function type apply to
    		// 'this', so avoid adding the unqualified function
    		// type to the substitution list.
    		if st.str[0] == 'F' {
    			addSubst = false
    		}
    	}
    
    	var ret AST
    
    	// Use correct substitution for a template parameter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          Comparator<? super K> comparator,
          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        // "adding" type params to an array of a raw type should be safe as
        // long as no one can ever cast that same array instance back to a
        // raw type.
        @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		// already existing log.
    		//
    		// We are checking to see if the log directory exists, and find
    		// the latest restartCount by checking the log name -
    		// {restartCount}.log - and adding 1 to it.
    		logDir := BuildContainerLogsDirectory(m.podLogsDirectory, pod.Namespace, pod.Name, pod.UID, container.Name)
    		restartCount, err = calcRestartCountByLogDir(logDir)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  7. src/crypto/tls/conn.go

    	if total := len(in) + n; cap(in) >= total {
    		head = in[:total]
    	} else {
    		head = make([]byte, total)
    		copy(head, in)
    	}
    	tail = head[len(in):]
    	return
    }
    
    // encrypt encrypts payload, adding the appropriate nonce and/or MAC, and
    // appends it to record, which must already contain the record header.
    func (hc *halfConn) encrypt(record, payload []byte, rand io.Reader) ([]byte, error) {
    	if hc.cipher == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.True(ok)
    	as.Equal(int64(0), resource1Allocatable.Value())
    	as.Equal(int64(2), resource1Capacity.Value())
    	as.Equal(0, len(removedResources))
    
    	// Tests adding another resource.
    	resourceName2 := "resource2"
    	e2 := &endpointImpl{}
    	e2.client = plugin.NewPluginClient(resourceName2, socketName, testManager)
    	testManager.endpoints[resourceName2] = endpointInfo{e: e2, opts: nil}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

    //
    // The CEL expressions of a policy must have a computed CEL cost below the maximum
    // CEL budget. Each evaluation of the policy is given an independent CEL cost budget.
    // Adding/removing policies, bindings, or params can not affect whether a
    // given (policy, binding, param) combination is within its own CEL budget.
    message ValidatingAdmissionPolicyBinding {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    	ErrTransitionStorageClassNotFoundError
    	// MinIO storage class error codes
    	ErrInvalidStorageClass
    	ErrBackendDown
    	// Add new extended error codes here.
    	// Please open a https://github.com/minio/minio/issues before adding
    	// new error codes here.
    
    	ErrMalformedJSON
    	ErrAdminNoSuchUser
    	ErrAdminNoSuchUserLDAPWarn
    	ErrAdminLDAPExpectedLoginName
    	ErrAdminNoSuchGroup
    	ErrAdminGroupNotEmpty
    	ErrAdminGroupDisabled
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
Back to top