Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 461 for original (0.19 sec)

  1. src/go/internal/gcimporter/iimport.go

    		return r.p.tparamIndex[id]
    
    	case instanceType:
    		if r.p.exportVersion < iexportVersionGenerics {
    			errorf("unexpected instantiation type")
    		}
    		// pos does not matter for instances: they are positioned on the original
    		// type.
    		_ = r.pos()
    		len := r.uint64()
    		targs := make([]types.Type, len)
    		for i := range targs {
    			targs[i] = r.typ()
    		}
    		baseType := r.typ()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. src/log/slog/handler.go

    			//
    			// Adapted from the code in fmt/print.go.
    			if v := reflect.ValueOf(v.any); v.Kind() == reflect.Pointer && v.IsNil() {
    				s.appendString("<nil>")
    				return
    			}
    
    			// Otherwise just print the original panic message.
    			s.appendString(fmt.Sprintf("!PANIC: %v", r))
    		}
    	}()
    
    	var err error
    	if s.h.json {
    		err = appendJSONValue(s, v)
    	} else {
    		err = appendTextValue(s, v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  3. src/crypto/tls/common.go

    	// received from a client. It may return a non-nil Config in order to
    	// change the Config that will be used to handle this connection. If
    	// the returned Config is nil, the original Config will be used. The
    	// Config returned by this callback may not be subsequently modified.
    	//
    	// If GetConfigForClient is nil, the Config passed to Server() will be
    	// used for all connections.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  4. src/runtime/signal_windows.go

    	// loading SP from RX and jumping to RY, being RX and RY two scratch registers.
    	// Note that blindly smashing RX and RY is only safe because we know sigpanic
    	// will not actually return to the original frame, so the registers
    	// are effectively dead. But this does mean we can't use the
    	// same mechanism for async preemption.
    	if ep.context.ip() == abi.FuncPCABI0(sigresume) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. src/log/slog/handler_test.go

    		if got != test.want {
    			t.Errorf("%v: got %t, want %t", test.leveler, got, test.want)
    		}
    	}
    }
    
    func TestSecondWith(t *testing.T) {
    	// Verify that a second call to Logger.With does not corrupt
    	// the original.
    	var buf bytes.Buffer
    	h := NewTextHandler(&buf, &HandlerOptions{ReplaceAttr: removeKeys(TimeKey)})
    	logger := New(h).With(
    		String("app", "playground"),
    		String("role", "tester"),
    		Int("data_version", 2),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/vcstest/svn/test1-svn-git.txt

    stdout '^7f800d2ac276dd7042ea0e8d7438527d236fd098$'
    
    	# Fake a clone from an origin repo at this commit.
    git remote add origin https://vcs-test.swtch.com/git/README-only
    mkdir .git/refs/remotes/origin
    echo 'ref: refs/remotes/origin/master'
    cp stdout .git/refs/remotes/origin/HEAD
    unquote '# pack-refs with: peeled fully-peeled \n7f800d2ac276dd7042ea0e8d7438527d236fd098 refs/remotes/origin/master\n'
    cp stdout .git/packed-refs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 19:37:03 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  7. src/os/zero_copy_linux.go

    // tryLimitedReader tries to assert the io.Reader to io.LimitedReader, it returns the io.LimitedReader,
    // the underlying io.Reader and the remaining amount of bytes if the assertion succeeds,
    // otherwise it just returns the original io.Reader and the theoretical unlimited remaining amount of bytes.
    func tryLimitedReader(r io.Reader) (*io.LimitedReader, io.Reader, int64) {
    	var remain int64 = 1<<63 - 1 // by default, copy until EOF
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/image/color/ycbcr.go

    	//	116130 = roundToNearestInteger(1.77200 * 65536).
    	//
    	// Adding a rounding adjustment in the range [0, 1<<16-1] and then shifting
    	// right by 16 gives us an integer math version of the original formulae.
    	//	R = (65536*Y' +  91881 *(Cr-128)                  + adjustment) >> 16
    	//	G = (65536*Y' -  22554 *(Cb-128) - 46802*(Cr-128) + adjustment) >> 16
    	//	B = (65536*Y' + 116130 *(Cb-128)                  + adjustment) >> 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/get.go

    }
    
    type resolver struct {
    	localQueries      []*query // queries for absolute or relative paths
    	pathQueries       []*query // package path literal queries in original order
    	wildcardQueries   []*query // path wildcard queries in original order
    	patternAllQueries []*query // queries with the pattern "all"
    
    	// Indexed "none" queries. These are also included in the slices above;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ir/func.go

    	// function for go:nowritebarrierrec analysis. Only filled in
    	// if nowritebarrierrecCheck != nil.
    	NWBRCalls *[]SymAndPos
    
    	// For wrapper functions, WrappedFunc point to the original Func.
    	// Currently only used for go/defer wrappers.
    	WrappedFunc *Func
    
    	// WasmImport is used by the //go:wasmimport directive to store info about
    	// a WebAssembly function import.
    	WasmImport *WasmImport
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top