Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 248 for original (0.26 sec)

  1. src/net/http/requestwrite_test.go

    		}
    	}
    	if !sawGood {
    		t.Fatalf("writeCalls constant is outdated in test")
    	}
    }
    
    // dumpRequestOut is a modified copy of net/http/httputil.DumpRequestOut.
    // Unlike the original, this version doesn't mutate the req.Body and
    // try to restore it. It always dumps the whole body.
    // And it doesn't support https.
    func dumpRequestOut(req *Request, onReadHeaders func()) ([]byte, error) {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/unify.go

    		}
    
    	case *Named:
    		// Two named types unify if their type names originate in the same type declaration.
    		// If they are instantiated, their type argument lists must unify.
    		if y := asNamed(y); y != nil {
    			// Check type arguments before origins so they unify
    			// even if the origins don't match; for better error
    			// messages (see go.dev/issue/53692).
    			xargs := x.TypeArgs().list()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	// uses lightweight transitions and maintains M affinity.
    	//
    	// Leaving _Psyscall must be done with a CAS, either to steal
    	// or retake the P. Note that there's an ABA hazard: even if
    	// an M successfully CASes its original P back to _Prunning
    	// after a syscall, it must understand the P may have been
    	// used by another M in the interim.
    	_Psyscall
    
    	// _Pgcstop means a P is halted for STW and owned by the M
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/writebarrier.go

    		// the write barrier flag.
    		// It is unlikely to have more than one of them. Just do a linear
    		// search instead of using a map.
    		// See issue 15854.
    		type volatileCopy struct {
    			src *Value // address of original volatile value
    			tmp *Value // address of temporary we've copied the volatile value into
    		}
    		var volatiles []volatileCopy
    
    		if !(f.ABIDefault == f.ABI1 && len(f.Config.intParamRegs) >= 3) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  5. src/compress/flate/deflate_test.go

    			mm++
    			if mm == 10 {
    				t.Fatal("Stopping")
    			}
    		}
    	}
    	t.Logf("got %d bytes", len(out1))
    }
    
    // TestBestSpeed tests that round-tripping through deflate and then inflate
    // recovers the original input. The Write sizes are near the thresholds in the
    // compressor.encSpeed method (0, 16, 128), as well as near maxStoreBlockSize
    // (65535).
    func TestBestSpeed(t *testing.T) {
    	t.Parallel()
    	abc := make([]byte, 128)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/p256_asm_amd64.s

    	MOVQ $0, acc2
    	MOVQ p256const1<>(SB), acc3
    	// Load the original value
    	MOVQ (8*0)(res_ptr), acc5
    	MOVQ (8*1)(res_ptr), x_ptr
    	MOVQ (8*2)(res_ptr), y_ptr
    	MOVQ (8*3)(res_ptr), t1
    	// Speculatively subtract
    	SUBQ acc5, acc0
    	SBBQ x_ptr, acc1
    	SBBQ y_ptr, acc2
    	SBBQ t1, acc3
    	// If condition is 0, keep original value
    	TESTQ t0, t0
    	CMOVQEQ acc5, acc0
    	CMOVQEQ x_ptr, acc1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  7. src/net/tcpsock.go

    // Closing l does not affect f, and closing f does not affect l.
    //
    // The returned os.File's file descriptor is different from the
    // connection's. Attempting to change properties of the original
    // using this duplicate may or may not have the desired effect.
    func (l *TCPListener) File() (f *os.File, err error) {
    	if !l.ok() {
    		return nil, syscall.EINVAL
    	}
    	f, err = l.file()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    	// We may thus be trying to produce object paths for any of these objects.
    	//
    	// S[A].Foo and S[B].Bar are the origin methods, and their paths are S.Foo
    	// and S.Bar, which are the paths that this function naturally produces.
    	//
    	// S[A].Bar, S[B].Foo, and both methods on S[int] are instantiations that
    	// don't correspond to the origin methods. For S[int], this is significant.
    	// The most precise object path for S[int].Foo, for example, is Alias.Foo,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. src/crypto/rsa/rsa.go

    //
    // RSA is a single, fundamental operation that is used in this package to
    // implement either public-key encryption or public-key signatures.
    //
    // The original specification for encryption and signatures with RSA is PKCS #1
    // and the terms "RSA encryption" and "RSA signatures" by default refer to
    // PKCS #1 version 1.5. However, that specification has flaws and new designs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/issues_test.go

    	// (see last comment in this function)
    	sources := [...]string{
    		"package p; type A interface{ A() }",
    		"package p; type B interface{ B() }",
    		"package p; type X interface{ A; B }",
    	}
    
    	// compute original file ASTs
    	var orig [len(sources)]*syntax.File
    	for i, src := range sources {
    		orig[i] = mustParse(src)
    	}
    
    	// run the test for all order permutations of the incoming files
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top