Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 215 for original (0.12 sec)

  1. src/cmd/go/internal/fsys/fsys_test.go

    			"subdir8", []entry{
    				{"doesntexist", 0, false}, // entry is returned even if destination file doesn't exist
    			},
    		},
    		{
    			// check that read dir actually redirects files that already exist
    			// the original this_file_is_overlaid.txt is empty
    			"subdir9", []entry{
    				{"this_file_is_overlaid.txt", 9, false},
    			},
    		},
    		{
    			"subdir10", []entry{},
    		},
    		{
    			"parentoverwritten", []entry{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/expr.go

    		t = types.UntypedInt
    	}
    	return l, r, t
    }
    
    // tcArith typechecks operands of a binary arithmetic expression.
    // The result of tcArith MUST be assigned back to original operands,
    // t is the type of the expression, and should be set by the caller. e.g:
    //
    //	n.X, n.Y, t = tcArith(n, op, n.X, n.Y)
    //	n.SetType(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    }
    
    // mergePAX merges paxHdrs into hdr for all relevant fields of Header.
    func mergePAX(hdr *Header, paxHdrs map[string]string) (err error) {
    	for k, v := range paxHdrs {
    		if v == "" {
    			continue // Keep the original USTAR value
    		}
    		var id64 int64
    		switch k {
    		case paxPath:
    			hdr.Name = v
    		case paxLinkpath:
    			hdr.Linkname = v
    		case paxUname:
    			hdr.Uname = v
    		case paxGname:
    			hdr.Gname = v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. src/net/net.go

    // Closing c does not affect f, and closing f does not affect c.
    //
    // 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 (c *conn) File() (f *os.File, err error) {
    	f, err = c.fd.dup()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. src/net/dial_test.go

    // "::" not connect back to that same address.
    func TestDialListenerAddr(t *testing.T) {
    	if !testableNetwork("tcp4") {
    		t.Skipf("skipping: can't listen on tcp4")
    	}
    
    	// The original issue report was for listening on just ":0" on a system that
    	// supports both tcp4 and tcp6 for external traffic but only tcp4 for loopback
    	// traffic. However, the port opened by ":0" is externally-accessible, and may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/stmt.go

    			continue L
    		}
    		check.convertUntyped(&v, x.typ)
    		if v.mode == invalid {
    			continue L
    		}
    		// Order matters: By comparing v against x, error positions are at the case values.
    		res := v // keep original v unchanged
    		check.comparison(&res, x, syntax.Eql, true)
    		if res.mode == invalid {
    			continue L
    		}
    		if v.mode != constant_ {
    			continue L // we're done
    		}
    		// look for duplicate values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. src/crypto/rsa/pkcs1v15.go

    // independently of whether it was valid in order to maintain constant memory
    // access patterns. If the plaintext was valid then index contains the index of
    // the original message in em, to allow constant time padding removal.
    func decryptPKCS1v15(priv *PrivateKey, ciphertext []byte) (valid int, em []byte, index int, err error) {
    	k := priv.Size()
    	if k < 11 {
    		err = ErrDecryption
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. src/go/ast/filter.go

    						}
    					}
    				}
    				decls[i] = d
    				i++
    			}
    		}
    
    		// Eliminate nil entries from the decls list if entries were
    		// filtered. We do this using a 2nd pass in order to not disturb
    		// the original declaration order in the source (otherwise, this
    		// would also invalidate the monotonically increasing position
    		// info within a single file).
    		if n > 0 {
    			i = 0
    			for _, d := range decls {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    const base = 'z' - 'a' + 1
    
    func strToInt(s []byte) uint {
    	v := uint(0)
    	for i := 0; i < len(s); i++ {
    		v *= base
    		v += uint(s[i] - 'a')
    	}
    	return v
    }
    
    // converts the given integer to the original ASCII string passed to strToInt.
    // len(s) must match the number of characters obtained.
    func intToStr(v uint, s []byte) {
    	for i := len(s) - 1; i >= 0; i-- {
    		s[i] = byte(v%base) + 'a'
    		v /= base
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client.go

    		// Expired certificate, delete the entry.
    		c.config.ClientSessionCache.Put(cacheKey, nil)
    		return nil, nil, nil, nil
    	}
    	if !c.config.InsecureSkipVerify {
    		if len(session.verifiedChains) == 0 {
    			// The original connection had InsecureSkipVerify, while this doesn't.
    			return nil, nil, nil, nil
    		}
    		if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
    			return nil, nil, nil, nil
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
Back to top