Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 765 for returned (0.56 sec)

  1. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    	// limit.
    	SizeError error
    }
    
    // Err returns an error if [CheckedFiles] does not describe a valid module zip
    // file. [CheckedFiles.SizeError] is returned if that field is set.
    // A [FileErrorList] is returned
    // if there are one or more invalid files. Other errors may be returned in the
    // future.
    func (cf CheckedFiles) Err() error {
    	if cf.SizeError != nil {
    		return cf.SizeError
    	}
    	if len(cf.Invalid) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex.go

    func IsRegisterShift(r ScanToken) bool {
    	return ROT <= r && r <= LSH // Order looks backwards because these are negative.
    }
    
    func (t ScanToken) String() string {
    	switch t {
    	case scanner.EOF:
    		return "EOF"
    	case scanner.Ident:
    		return "identifier"
    	case scanner.Int:
    		return "integer constant"
    	case scanner.Float:
    		return "float constant"
    	case scanner.Char:
    		return "rune constant"
    	case scanner.String:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/bufio/bufio.go

    // beginning of the line is returned. The rest of the line will be returned
    // from future calls. isPrefix will be false when returning the last fragment
    // of the line. The returned buffer is only valid until the next call to
    // ReadLine. ReadLine either returns a non-nil line or it returns an error,
    // never both.
    //
    // The text returned from ReadLine does not include the line end ("\r\n" or "\n").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  4. src/archive/zip/register.go

    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    	di, ok := decompressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return di.(Decompressor)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/par/work_test.go

    	if v != 3 {
    		t.Fatalf("cache.Do(2) did not run f")
    	}
    	v = cache.Do(1, func() int { n++; return n })
    	if v != 2 {
    		t.Fatalf("cache.Do(1) did not returned saved value from original cache.Do(1)")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 09:56:24 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/context.go

    // returned. Otherwise, n is returned, and recorded in the Context for the hash
    // h.
    func (ctxt *Context) update(h string, orig Type, targs []Type, inst Type) Type {
    	assert(inst != nil)
    
    	ctxt.mu.Lock()
    	defer ctxt.mu.Unlock()
    
    	for _, e := range ctxt.typeMap[h] {
    		if inst == nil || Identical(inst, e.instance) {
    			return e.instance
    		}
    		if debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/gover/local.go

    // go command's idea of its own version as returned by Local.
    var TestVersion string
    
    // Local returns the local Go version, the one implemented by this go command.
    func Local() string {
    	v, _ := local()
    	return v
    }
    
    // LocalToolchain returns the local toolchain name, the one implemented by this go command.
    func LocalToolchain() string {
    	_, t := local()
    	return t
    }
    
    func local() (goVers, toolVers string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:20:23 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/mvs/mvs.go

    // the MVS algorithms parallelize the traversal to overlap network delays.
    type Reqs interface {
    	// Required returns the module versions explicitly required by m itself.
    	// The caller must not modify the returned list.
    	Required(m module.Version) ([]module.Version, error)
    
    	// Max returns the maximum of v1 and v2 (it returns either v1 or v2)
    	// in the module with path p.
    	//
    	// For all versions v, Max(v, "none") must be v,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/build_test.go

    			if err != nil {
    				if !data.expectErr {
    					t.Errorf("libname returned an error %q, expected a name", err.Error())
    				}
    			} else if data.expectErr {
    				t.Errorf("libname returned %q, expected an error", computed)
    			} else {
    				expected := prefix + data.expected + suffix
    				if expected != computed {
    					t.Errorf("libname returned %q, expected %q", computed, expected)
    				}
    			}
    		}()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/compiler_internal.go

    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    // the newly named object is inserted into the signature's scope,
    // and the object and new field name are returned.
    //
    // The intended use for RenameResult is to allow rangefunc to assign results within a closure.
    // This is a hack, as narrowly targeted as possible to discourage abuse.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top