Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 70 for valid (0.05 sec)

  1. src/runtime/mfinal.go

    // the actual system call.
    //
    // Note: KeepAlive should only be used to prevent finalizers from
    // running prematurely. In particular, when used with [unsafe.Pointer],
    // the rules for valid uses of unsafe.Pointer still apply.
    func KeepAlive(x any) {
    	// Introduce a use of x that the compiler can't eliminate.
    	// This makes sure x is alive on entry. We need x to be alive
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. cluster/gce/upgrade.sh

      # kubeconfig:username, and then under kubeconfig:username-basic-auth.
      # TODO: KUBE_USER is used in generating ABAC policy which the
      # apiserver may not have enabled. If it's enabled, we must have a user
      # to generate a valid ABAC policy. If the username changes, should
      # the script fail? Should we generate a default username and password
      # if the section is missing in kubeconfig? Handle this better in 1.5.
      get-kubeconfig-basicauth
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    		expectPrefix = pathPrefix + "/"
    	)
    	_, store, _ := testSetup(t, withPrefix(pathPrefix))
    
    	for _, key := range validKeys {
    		k, err := store.prepareKey(key)
    		if err != nil {
    			t.Errorf("key %q should be valid; unexpected error: %v", key, err)
    		} else if !strings.HasPrefix(k, expectPrefix) {
    			t.Errorf("key %q should have prefix %q", k, expectPrefix)
    		}
    	}
    
    	for _, key := range invalidKeys {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. pilot/pkg/model/gateway.go

    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/monitoring"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // ServerPort defines port for the gateway server.
    type ServerPort struct {
    	// A valid non-negative integer port number.
    	Number uint32
    	// The protocol exposed on the port.
    	Protocol string
    	// The bind server specified on this port.
    	Bind string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    			selected = entry
    			continue
    		}
    
    		// Get new entry metadata,
    		// shallow decode.
    		xl, err := entry.xlmeta()
    		if err != nil {
    			continue
    		}
    		objsValid++
    
    		// Add all valid to candidates.
    		r.candidates = append(r.candidates, xl.versions)
    
    		// We select the first object we find as a candidate and see if all match that.
    		// This is to quickly identify if all agree.
    		if selected == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    	allUnsafe bool
    	// unsafePoints bit i is set if Value ID i is an unsafe-point
    	// (preemption is not allowed). Only valid if !allUnsafe.
    	unsafePoints bitvec.BitVec
    	// unsafeBlocks bit i is set if Block ID i is an unsafe-point
    	// (preemption is not allowed on any end-of-block
    	// instructions). Only valid if !allUnsafe.
    	unsafeBlocks bitvec.BitVec
    
    	// An array with a bit vector for each safe point in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	case !indexExists:
    		maxChanSize = maxWatchChanSizeWithoutIndex
    	}
    	if chanSize > maxChanSize {
    		chanSize = maxChanSize
    	}
    	return chanSize
    }
    
    // isIndexValidLocked checks if a given index is still valid.
    // This assumes that the lock is held.
    func (w *watchCache) isIndexValidLocked(index int) bool {
    	return index >= w.startIndex
    }
    
    // getAllEventsSinceLocked returns a watchCacheInterval that can be used to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	}
    
    	if p.health.status.Load() != diskHealthOK {
    		return ctx, done, errFaultyDisk
    	}
    
    	// Verify if the disk is not stale
    	// - missing format.json (unformatted drive)
    	// - format.json is valid but invalid 'uuid'
    	if err = p.checkDiskStale(); err != nil {
    		return ctx, done, err
    	}
    
    	// Disallow recursive tracking to avoid deadlocks.
    	if ctx.Value(healthDiskCtxKey{}) != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    	errInvalidEncryptionParametersSSEC = errors.New("SSE-C encryption parameters are not supported on this bucket")
    )
    
    const (
    	// SSECustomerKeySize is the size of valid client provided encryption keys in bytes.
    	// Currently AWS supports only AES256. So the SSE-C key size is fixed to 32 bytes.
    	SSECustomerKeySize = 32
    
    	// SSEIVSize is the size of the IV data
    	SSEIVSize = 32 // 32 bytes
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. src/os/exec/exec_test.go

    		// This program exits with status 0,
    		// but pretty much always does so during the wait delay.
    		// Since the Cmd itself didn't do anything to stop the process when the
    		// context expired, a successful exit is valid (even if late) and does
    		// not merit a non-nil error.
    		if err != nil {
    			t.Errorf("Wait: %v; want nil", err)
    		}
    		if ps := cmd.ProcessState; !ps.Exited() {
    			t.Errorf("cmd did not exit: %v", ps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top