Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,839 for checkId (0.36 sec)

  1. cmd/storage-rest-server.go

    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. src/encoding/gob/type.go

    	checkId(16, tWireType)
    	checkId(17, mustGetTypeInfo(reflect.TypeFor[arrayType]()).id)
    	checkId(18, mustGetTypeInfo(reflect.TypeFor[CommonType]()).id)
    	checkId(19, mustGetTypeInfo(reflect.TypeFor[sliceType]()).id)
    	checkId(20, mustGetTypeInfo(reflect.TypeFor[structType]()).id)
    	checkId(21, mustGetTypeInfo(reflect.TypeFor[fieldType]()).id)
    	checkId(23, mustGetTypeInfo(reflect.TypeFor[mapType]()).id)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. cmd/metacache-walk.go

    						internalLogIf(ctx, err)
    					}
    				}
    				dirStack = dirStack[:len(dirStack)-1]
    			}
    
    			// All objects will be returned as directories, there has been no object check yet.
    			// Check it by attempting to read metadata.
    			_, isDirObj := dirObjects[entry]
    			if isDirObj {
    				meta.name = meta.name[:len(meta.name)-1] + globalDirSuffixWithSlash
    			}
    
    			if s.walkReadMu != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    			if !monitor() {
    				return
    			}
    		}
    	}
    }
    
    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. src/go/types/check.go

    	// start with a clean slate (check.Files may be called multiple times)
    	check.files = nil
    	check.imports = nil
    	check.dotImportMap = nil
    
    	check.firstErr = nil
    	check.methods = nil
    	check.untyped = nil
    	check.delayed = nil
    	check.objPath = nil
    	check.cleaners = nil
    
    	// determine package name and collect valid files
    	pkg := check.pkg
    	for _, file := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check.go

    // via action.describef for debugging, if desired.
    func (check *Checker) later(f func()) *action {
    	i := len(check.delayed)
    	check.delayed = append(check.delayed, action{f: f})
    	return &check.delayed[i]
    }
    
    // push pushes obj onto the object path and returns its index in the path.
    func (check *Checker) push(obj Object) int {
    	check.objPath = append(check.objPath, obj)
    	return len(check.objPath) - 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/checker.go

    //  limitations under the License.
    
    package echo
    
    var noChecker Checker = func(_ CallResult, err error) error {
    	return err
    }
    
    // Checker inspects echo call results for errors.
    type Checker func(CallResult, error) error
    
    func (c Checker) Check(result CallResult, err error) error {
    	return c(result, err)
    }
    
    // NoChecker provides a Checker that returns the original raw call error, unaltered.
    func NoChecker() Checker {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 1000 bytes
    - Viewed (0)
  8. cmd/kubeadm/app/preflight/checks.go

    	containerRuntime := utilruntime.NewContainerRuntime(nodeReg.CRISocket)
    	if err := containerRuntime.Connect(); err != nil {
    		klog.Warningf("[preflight] WARNING: Couldn't create the interface used for talking to the container runtime: %v\n", err)
    	} else {
    		checks = append(checks, ContainerRuntimeCheck{runtime: containerRuntime})
    	}
    
    	// non-windows checks
    	checks = addSwapCheck(checks)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. tests/util/leak/check.go

    	for _, g := range leaked {
    		errString.WriteString(fmt.Sprintf("Leaked goroutine: %v\n", g.stack))
    	}
    	return errors.New(errString.String())
    }
    
    // Check adds a check to a test to ensure there are no leaked goroutines
    // To use, simply call leak.Check(t) at the start of a test; Do not call it in defer.
    // It is recommended to call this as the first step, as Cleanup is called in LIFO order; this ensures any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    func isOmitManagedFields(policyRule *audit.PolicyRule, policyDefault bool) bool {
    	if policyRule.OmitManagedFields == nil {
    		return policyDefault
    	}
    
    	return *policyRule.OmitManagedFields
    }
    
    // Check whether the rule matches the request attrs.
    func ruleMatches(r *audit.PolicyRule, attrs authorizer.Attributes) bool {
    	user := attrs.GetUser()
    	if len(r.Users) > 0 {
    		if user == nil || !hasString(r.Users, user.GetName()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
Back to top