Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 343 for original (0.28 sec)

  1. src/runtime/slice.go

    //	newLen = new length (= oldLen + num)
    //	oldCap = original slice's capacity.
    //	   num = number of elements being added
    //	    et = element type
    //
    // return values:
    //
    //	newPtr = pointer to the new backing store
    //	newLen = same value as the argument
    //	newCap = capacity of the new backing store
    //
    // Requires that uint(newLen) > uint(oldCap).
    // Assumes the original slice length is newLen - num
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/net/http/request_test.go

    	// but we don't care about it)
    	req.Header = nil
    	back.Header = nil
    	if !reflect.DeepEqual(req, back) {
    		t.Errorf("Original request doesn't match Request read back.")
    		t.Logf("Original: %#v", req)
    		t.Logf("Original.URL: %#v", req.URL)
    		t.Logf("Wrote: %s", out.String())
    		t.Logf("Read back (doesn't match Original): %#v", back)
    	}
    }
    
    type responseWriterJustWriter struct {
    	io.Writer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/alias.go

    //
    // [underlying type]: https://go.dev/ref/spec#Underlying_types.
    func (a *Alias) Underlying() Type { return unalias(a).Underlying() }
    
    // Origin returns the generic Alias type of which a is an instance.
    // If a is not an instance of a generic alias, Origin returns a.
    func (a *Alias) Origin() *Alias { return a.orig }
    
    // TypeParams returns the type parameters of the alias type a, or nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/generate/generate.go

    	-run=""
    		if non-empty, specifies a regular expression to select
    		directives whose full original source text (excluding
    		any trailing spaces and final newline) matches the
    		expression.
    
    	-skip=""
    		if non-empty, specifies a regular expression to suppress
    		directives whose full original source text (excluding
    		any trailing spaces and final newline) matches the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. src/math/big/ftoa.go

    	var upper decimal
    	upper.init(tmp.add(mant, natOne), exp)
    
    	// The upper and lower bounds are possible outputs only if
    	// the original mantissa is even, so that ToNearestEven rounding
    	// would round to the original mantissa and not the neighbors.
    	inclusive := mant[0]&2 == 0 // test bit 1 since original mantissa was shifted by 1
    
    	// Now we can figure out the minimum number of digits required.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/order.go

    }
    
    // safeExpr returns a safe version of n.
    // The definition of safe is that n can appear multiple times
    // without violating the semantics of the original program,
    // and that assigning to the safe version has the same effect
    // as assigning to the original n.
    //
    // The intended use is to apply to x when rewriting x += y into x = x + y.
    func (o *orderState) safeExpr(n ir.Node) ir.Node {
    	switch n.Op() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  7. src/internal/trace/oldtrace.go

    // GoSyscallStart+GoSyscallEnd, unless we observe a GoSysBlock, in which case we
    // emit a GoSyscallStart+GoSyscallEndBlocked pair with the correct duration
    // (i.e. starting at the original GoSyscall).
    //
    // The resulting trace treats the old trace as a single, large generation,
    // sharing a single evTable for all events.
    //
    // We use a new (compared to what was used for 'go tool trace' in earlier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/log/slog/value.go

    //
    // Given a value of one of Go's predeclared string, bool, or
    // (non-complex) numeric types, AnyValue returns a Value of kind
    // [KindString], [KindBool], [KindUint64], [KindInt64], or [KindFloat64].
    // The width of the original numeric type is not preserved.
    //
    // Given a [time.Time] or [time.Duration] value, AnyValue returns a Value of kind
    // [KindTime] or [KindDuration]. The monotonic time is not preserved.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/go/types/alias.go

    //
    // [underlying type]: https://go.dev/ref/spec#Underlying_types.
    func (a *Alias) Underlying() Type { return unalias(a).Underlying() }
    
    // Origin returns the generic Alias type of which a is an instance.
    // If a is not an instance of a generic alias, Origin returns a.
    func (a *Alias) Origin() *Alias { return a.orig }
    
    // TypeParams returns the type parameters of the alias type a, or nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/unsafe/unsafe.go

    // It is also valid to use &^ to round pointers, usually for alignment.
    // In all cases, the result must continue to point into the original allocated object.
    //
    // Unlike in C, it is not valid to advance a pointer just beyond the end of
    // its original allocation:
    //
    //	// INVALID: end points outside allocated space.
    //	var s thing
    //	end = unsafe.Pointer(uintptr(unsafe.Pointer(&s)) + unsafe.Sizeof(s))
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top