Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 385 for IsSame (0.26 sec)

  1. cni/pkg/plugin/plugin_test.go

    	if err == nil {
    		t.Fatal("expected to fail, but did not!")
    	}
    
    	return mockRedir
    }
    
    func testDoAddRun(t *testing.T, stdinData, nsName string, objects ...runtime.Object) *mockInterceptRuleMgr {
    	args := buildCmdArgs(stdinData, testPodName, nsName)
    
    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		t.Fatalf("config parse failed with error: %v", err)
    	}
    
    	// Create a kube client
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status.go

    		if podCIDRChanged, err = kl.updatePodCIDR(ctx, podCIDRs); err != nil {
    			klog.ErrorS(err, "Error updating pod CIDR")
    		}
    	}
    
    	areRequiredLabelsNotPresent := false
    	osName, osLabelExists := node.Labels[v1.LabelOSStable]
    	if !osLabelExists || osName != goruntime.GOOS {
    		if len(node.Labels) == 0 {
    			node.Labels = make(map[string]string)
    		}
    		node.Labels[v1.LabelOSStable] = goruntime.GOOS
    		areRequiredLabelsNotPresent = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. pkg/controller/tainteviction/taint_eviction_test.go

    			controller.PodUpdated(nil, item.prevPod)
    
    			if item.awaitForScheduledEviction {
    				nsName := types.NamespacedName{Namespace: item.prevPod.Namespace, Name: item.prevPod.Name}
    				err := wait.PollImmediate(time.Millisecond*10, time.Second, func() (bool, error) {
    					scheduledEviction := controller.taintEvictionQueue.GetWorkerUnsafe(nsName.String())
    					return scheduledEviction != nil, nil
    				})
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. src/crypto/tls/cipher_suites.go

    	aead   func(key, fixedNonce []byte) aead
    	hash   crypto.Hash
    }
    
    // cipherSuitesTLS13 should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/quic-go/quic-go
    //   - github.com/sagernet/quic-go
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname cipherSuitesTLS13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/runtime/sys_darwin.go

    // Do not remove or change the type signature.
    //
    // syscall.syscall6 is meant for package syscall (and x/sys),
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    // See go.dev/issue/67401.
    //
    //go:linkname syscall_syscall6 syscall.syscall6
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

         * supplied object is the root. Expressions like 'child.name' will translate into
         * 'rootObject.getChild().getName()' for non-boolean properties, and
         * 'rootObject.getChild().isName()' for boolean properties.
         */
        public static class ObjectBasedValueSource extends AbstractValueSource {
    
            private final Object root;
    
            /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. pkg/kubelet/lifecycle/predicate_test.go

    	tests := []struct {
    		name            string
    		pod             *v1.Pod
    		expectRejection bool
    	}{
    		{
    			name:            "OS field match",
    			pod:             &v1.Pod{Spec: v1.PodSpec{OS: &v1.PodOS{Name: v1.OSName(goruntime.GOOS)}}},
    			expectRejection: false,
    		},
    		{
    			name:            "OS field mismatch",
    			pod:             &v1.Pod{Spec: v1.PodSpec{OS: &v1.PodOS{Name: "dummyOS"}}},
    			expectRejection: true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/runtime/sema.go

    // A semaRoot holds a balanced tree of sudog with distinct addresses (s.elem).
    // Each of those sudog may in turn point (through s.waitlink) to a list
    // of other sudogs waiting on the same address.
    // The operations on the inner lists of sudogs with the same address
    // are all O(1). The scanning of the top-level semaRoot list is O(log n),
    // where n is the number of distinct addresses with goroutines blocked
    // on them that hash to the given semaRoot.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    		return rd.RequestInfo.Namespace
    	default:
    		// this line shall never reach
    		panic("invalid flow-distinguisher method")
    	}
    }
    
    func hashFlowID(fsName, fDistinguisher string) uint64 {
    	hash := sha256.New()
    	var sep = [1]byte{0}
    	hash.Write([]byte(fsName))
    	hash.Write(sep[:])
    	hash.Write([]byte(fDistinguisher))
    	var sum [32]byte
    	hash.Sum(sum[:0])
    	return binary.LittleEndian.Uint64(sum[:8])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_darwin.go

    //go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib"
    
    // utimensat should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    // See go.dev/issue/67401.
    //
    //go:linkname utimensat
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top