Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 283 for Implementation (0.19 sec)

  1. src/unsafe/unsafe.go

    //
    // Provided that T2 is no larger than T1 and that the two share an equivalent
    // memory layout, this conversion allows reinterpreting data of one type as
    // data of another type. An example is the implementation of
    // math.Float64bits:
    //
    //	func Float64bits(f float64) uint64 {
    //		return *(*uint64)(unsafe.Pointer(&f))
    //	}
    //
    // (2) Conversion of a Pointer to a uintptr (but not back to Pointer).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cache/prog.go

    	// This is effectively the versioning mechanism.
    	can map[ProgCmd]bool
    
    	// fuzzDirCache is another Cache implementation to use for the FuzzDir
    	// method. In practice this is the default GOCACHE disk-based
    	// implementation.
    	//
    	// TODO(bradfitz): maybe this isn't ideal. But we'd need to extend the Cache
    	// interface and the fuzzing callers to be less disk-y to do more here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/fmt.go

    		fmt.Fprintf(f, "%%!%c(*types.Sym=%p)", verb, s)
    	}
    }
    
    func (s *Sym) String() string {
    	return sconv(s, 0, fmtGo)
    }
    
    // See #16897 for details about performance implications
    // before changing the implementation of sconv.
    func sconv(s *Sym, verb rune, mode fmtMode) string {
    	if verb == 'L' {
    		panic("linksymfmt")
    	}
    
    	if s == nil {
    		return "<S>"
    	}
    
    	q := pkgqual(s.Pkg, verb, mode)
    	if q == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. src/runtime/mpallocbits.go

    	s += uint(sys.OnesCount64(b[j/64] & ((1 << (j%64 + 1)) - 1)))
    	return
    }
    
    // pallocBits is a bitmap that tracks page allocations for at most one
    // palloc chunk.
    //
    // The precise representation is an implementation detail, but for the
    // sake of documentation, 0s are free pages and 1s are allocated pages.
    type pallocBits pageBits
    
    // summarize returns a packed summary of the bitmap in pallocBits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/fmt/doc.go

    concrete value that it holds, and printing continues with the next rule.
    
    2. If an operand implements the [Formatter] interface, it will
    be invoked. In this case the interpretation of verbs and flags is
    controlled by that implementation.
    
    3. If the %v verb is used with the # flag (%#v) and the operand
    implements the [GoStringer] interface, that will be invoked.
    
    If the format (which is implicitly %v for [Println] etc.) is valid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/net/net.go

    //
    // The two methods [Addr.Network] and [Addr.String] conventionally return strings
    // that can be passed as the arguments to [Dial], but the exact form
    // and meaning of the strings is up to the implementation.
    type Addr interface {
    	Network() string // name of the network (for example, "tcp", "udp")
    	String() string  // string form of address (for example, "192.0.2.1:25", "[2001:db8::1]:80")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/os/exec.go

    	Env []string
    	// Files specifies the open files inherited by the new process. The
    	// first three entries correspond to standard input, standard output, and
    	// standard error. An implementation may support additional entries,
    	// depending on the underlying operating system. A nil entry corresponds
    	// to that file being closed when the process starts.
    	// On Unix systems, StartProcess will change these File values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. src/math/big/arith_arm64.s

    	B	sub4
    copy:
    	MOVD	ZR, c+56(FP)
    	CMP	R1, R3
    	BEQ	done
    copy_4:				// no carry flag, copy the rest
    	vwOneIterCopy(R0, done)
    	B	copy_4
    
    // func shlVU(z, x []Word, s uint) (c Word)
    // This implementation handles the shift operation from the high word to the low word,
    // which may be an error for the case where the low word of x overlaps with the high
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/bisect/bisect.go

    			for _, x := range v {
    				h = fnvUint64(h, uint64(x))
    			}
    		}
    	}
    	return h
    }
    
    // Trivial error implementation, here to avoid importing errors.
    
    type parseError struct{ text string }
    
    func (e *parseError) Error() string { return e.text }
    
    // FNV-1a implementation. See Go's hash/fnv/fnv.go.
    // Copied here for simplicity (can handle uints directly)
    // and to avoid the dependency.
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  10. src/net/tcpsock_test.go

    	}
    	if fails > 0 {
    		t.Logf("# of failed Dials: %v", fails)
    	}
    }
    
    func TestTCPReadWriteAllocs(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9":
    		// The implementation of asynchronous cancelable
    		// I/O on Plan 9 allocates memory.
    		// See net/fd_io_plan9.go.
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    
    	ln, err := Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top