Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 182 for original (0.12 sec)

  1. src/internal/types/testdata/check/labels.go

    		}
    		if x == 20 {
    			continue L1 /* ERROR "invalid continue label L1" */
    		}
    		if x == 21 {
    			goto L1
    		}
    	}
    }
    
    // Additional tests not in the original files.
    
    func f2() {
    L1 /* ERROR "label L1 declared and not used" */ :
    	if x == 0 {
    		for {
    			continue L1 /* ERROR "invalid continue label L1" */
    		}
    	}
    }
    
    func f3() {
    L1:
    L2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/strconv/ctoa.go

    // formatted according to the format fmt and precision prec.
    //
    // The format fmt and precision prec have the same meaning as in [FormatFloat].
    // It rounds the result assuming that the original was obtained from a complex
    // value of bitSize bits, which must be 64 for complex64 and 128 for complex128.
    func FormatComplex(c complex128, fmt byte, prec, bitSize int) string {
    	if bitSize != 64 && bitSize != 128 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/crypto/tls/handshake_client_tls13.go

    	var echRetryConfigList []byte
    	if hs.echContext != nil {
    		confTranscript := cloneHash(hs.echContext.innerTranscript, hs.suite.hash)
    		confTranscript.Write(hs.serverHello.original[:30])
    		confTranscript.Write(make([]byte, 8))
    		confTranscript.Write(hs.serverHello.original[38:])
    		acceptConfirmation := hs.suite.expandLabel(
    			hs.suite.extract(hs.echContext.innerHello.random, nil),
    			"ech accept confirmation",
    			confTranscript.Sum(nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K 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