Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for original (0.19 sec)

  1. src/cmd/cgo/gcc.go

    	}
    	if quote != 0 {
    		err = errors.New("unclosed quote")
    	} else if escaped {
    		err = errors.New("unfinished escaping")
    	}
    	return args, err
    }
    
    // Translate rewrites f.AST, the original Go input, to remove
    // references to the imported package C, replacing them with
    // references to the equivalent Go types, functions, and variables.
    func (p *Package) Translate(f *File) {
    	for _, cref := range f.Ref {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    		sep := ":"
    		if gohostos == "windows" {
    			sep = ";"
    		}
    		xprintf(format, "PATH", fmt.Sprintf("%s%s%s", gorootBin, sep, os.Getenv("PATH")))
    
    		// Also include $DIST_UNMODIFIED_PATH with the original $PATH
    		// for the internal needs of "dist banner", along with export
    		// so that it reaches the dist process. See its comment below.
    		var exportFormat string
    		if !*windows && !*plan9 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K 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/crypto/des/des_test.go

    			c := newCipher(tt.key)
    			out = make([]byte, len(in))
    			c.Encrypt(out, in)
    			return
    		}
    
    		// Encrypting twice with a DES weak
    		// key should reproduce the original input
    		result := encrypt(tt.in)
    		result = encrypt(result)
    
    		if !bytes.Equal(result, tt.in) {
    			t.Errorf("#%d: result: %x want: %x", i, result, tt.in)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 16:49:56 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    							ime.ImportingMainModule = curstack.mod
    							break
    						}
    					}
    				}
    				// pkg.err was already non-nil, so we can reasonably attribute the error
    				// for pkg to either the original error or the one returned by
    				// queryImport. The existing error indicates only that we couldn't find
    				// the package, whereas the query error also explains why we didn't fix
    				// the problem — so we prefer the latter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. src/net/http/transport.go

    }
    
    // transportRequest is a wrapper around a *Request that adds
    // optional extra headers to write and stores any error to return
    // from roundTrip.
    type transportRequest struct {
    	*Request                        // original request, not to be mutated
    	extra    Header                 // extra headers to write, or nil
    	trace    *httptrace.ClientTrace // optional
    
    	ctx    context.Context // canceled when we are done with the request
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  7. src/crypto/tls/conn.go

    		plaintext = payload[:n]
    	}
    
    	hc.incSeq()
    	return plaintext, typ, nil
    }
    
    // sliceForAppend extends the input slice by n bytes. head is the full extended
    // slice, while tail is the appended part. If the original slice has sufficient
    // capacity no allocation is performed.
    func sliceForAppend(in []byte, n int) (head, tail []byte) {
    	if total := len(in) + n; cap(in) >= total {
    		head = in[:total]
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/net/http/fs_test.go

    	for _, data := range fsRedirectTestData {
    		res, err := ts.Client().Get(ts.URL + data.original)
    		if err != nil {
    			t.Fatal(err)
    		}
    		res.Body.Close()
    		if g, e := res.Request.URL.Path, data.redirect; g != e {
    			t.Errorf("redirect from %s: got %s, want %s", data.original, g, e)
    		}
    	}
    }
    
    type testFileSystem struct {
    	open func(name string) (File, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/regalloc.go

    	for m != 0 {
    		r := pickReg(m)
    		m &^= 1 << r
    		x := s.curBlock.NewValue0(src.NoXPos, OpClobberReg, types.TypeVoid)
    		s.f.setHome(x, &s.registers[r])
    	}
    }
    
    // setOrig records that c's original value is the same as
    // v's original value.
    func (s *regAllocState) setOrig(c *Value, v *Value) {
    	if int(c.ID) >= cap(s.orig) {
    		x := s.f.Cache.allocValueSlice(int(c.ID) + 1)
    		copy(x, s.orig)
    		s.f.Cache.freeValueSlice(s.orig)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  10. src/runtime/mbitmap.go

    				if nb+nb <= maxBits {
    					// Double pattern until the whole uintptr is filled.
    					for nb <= goarch.PtrSize*8 {
    						b |= b << nb
    						nb += nb
    					}
    					// Trim away incomplete copy of original pattern in high bits.
    					// TODO(rsc): Replace with table lookup or loop on systems without divide?
    					nb = maxBits / npattern * npattern
    					b &= 1<<nb - 1
    					pattern = b
    					npattern = nb
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top