Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 477 for checkId (0.11 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. 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)
  8. src/cmd/compile/internal/ssa/check.go

    	memCheck(f)
    }
    
    func memCheck(f *Func) {
    	// Check that if a tuple has a memory type, it is second.
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if v.Type.IsTuple() && v.Type.FieldType(0).IsMemory() {
    				f.Fatalf("memory is first in a tuple: %s\n", v.LongString())
    			}
    		}
    	}
    
    	// Single live memory checks.
    	// These checks only work if there are no memory copies.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/api.go

    // Package types2 declares the data types and implements
    // the algorithms for type-checking of Go packages. Use
    // Config.Check to invoke the type checker for a package.
    // Alternatively, create a new type checker with NewChecker
    // and invoke it incrementally by calling Checker.Files.
    //
    // Type-checking consists of several interdependent phases:
    //
    // Name resolution maps each identifier (syntax.Name) in the program to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. src/go/types/format.go

    		strings.Repeat(".  ", check.indent),
    		sprintf(check.fset, check.qualifier, true, format, args...),
    	)
    }
    
    // dump is only needed for debugging
    func (check *Checker) dump(format string, args ...any) {
    	fmt.Println(sprintf(check.fset, check.qualifier, true, format, args...))
    }
    
    func (check *Checker) qualifier(pkg *Package) string {
    	// Qualify the package unless it's the package being type-checked.
    	if pkg != check.pkg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top