Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 215 for original (0.14 sec)

  1. src/net/url/url.go

    // slashes in the raw URL and which were %2f. This distinction is rarely important,
    // but when it is, the code should use the [URL.EscapedPath] method, which preserves
    // the original encoding of Path.
    //
    // The RawPath field is an optional field which is only set when the default
    // encoding of Path is different from the escaped path. See the EscapedPath method
    // for more details.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/shifts.go

    	// _ = complex64(1<<s)
    	// _ = complex64(1.<<s)
    	_ = complex64(1.1 /* ERRORx `shifted operand .* must be integer` */ <<s)
    }
    
    func shifts9() {
    	// various originally failing snippets of code from the std library
    	// from src/compress/lzw/reader.go:90
    	{
    		var d struct {
    			bits     uint32
    			width    uint
    		}
    		_ = uint16(d.bits & (1<<d.width - 1))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. src/database/sql/fakedb_test.go

    	for _, arg := range args {
    		switch arg.Value.(type) {
    		case int64, float64, bool, nil, []byte, string, time.Time:
    		default:
    			if !allowAny {
    				return fmt.Errorf("fakedb: invalid argument ordinal %[1]d: %[2]v, type %[2]T", arg.Ordinal, arg.Value)
    			}
    		}
    	}
    	return nil
    }
    
    func (c *fakeConn) Exec(query string, args []driver.Value) (driver.Result, error) {
    	// Ensure that ExecContext is called if available.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. test/nosplit.go

    				}
    				name := m[1]
    				size, _ := strconv.Atoi(m[2])
    
    				if size%ptrSize == 4 {
    					continue TestCases
    				}
    				nosplit := m[3]
    				body := m[4]
    
    				// The limit was originally 128 but is now 800.
    				// Instead of rewriting the test cases above, adjust
    				// the first nosplit frame to use up the extra bytes.
    				// This isn't exactly right because we could have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/debug/dwarf/line.go

    // instructions from that [LineEntry]'s PC to just before the next
    // [LineEntry]'s PC. The last entry will have the [LineEntry.EndSequence] field set.
    type LineReader struct {
    	buf buf
    
    	// Original .debug_line section data. Used by Seek.
    	section []byte
    
    	str     []byte // .debug_str
    	lineStr []byte // .debug_line_str
    
    	// Header information
    	version              uint16
    	addrsize             int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  6. test/prove.go

    // The fix for this issue allows prove to zero a right shift that was added as
    // part of the less-than-optimal reqwrite. That change by prove then allows
    // lateopt to clean up all the unnecessary parts of the original division
    // replacement. See issue #36159.
    func divShiftClean(n int) int {
    	if n < 0 {
    		return n
    	}
    	return n / int(8) // ERROR "Proved Rsh64x64 shifts to zero"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. src/runtime/runtime-gdb_test.go

    	// form "var.field" and not just "field".
    	// However, the newer dwarf location list code reconstituted
    	// aggregates from their fields and reverted their printing
    	// back to its original form.
    	// Only test that all variables are listed in 'info locals' since
    	// different versions of gdb print variables in different
    	// order and with differing amount of information and formats.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/predicates.go

    func identicalOrigin(x, y *Named) bool {
    	// TODO(gri) is this correct?
    	return x.Origin().obj == y.Origin().obj
    }
    
    // identicalInstance reports if two type instantiations are identical.
    // Instantiations are identical if their origin and type arguments are
    // identical.
    func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. src/math/big/natdiv.go

    // the recursive call. It also uses tmp, but not live across the recursion.
    func (z nat) divRecursiveStep(u, v nat, depth int, tmp *nat, temps []*nat) {
    	// u is a subsection of the original and may have leading zeros.
    	// TODO(rsc): The v = v.norm() is useless and should be removed.
    	// We know (and require) that v's top digit is ≥ B/2.
    	u = u.norm()
    	v = v.norm()
    	if len(u) == 0 {
    		clear(z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. src/runtime/stack.go

    		if datap.gofunc <= ptr && ptr < datap.end {
    			mod = datap
    			break
    		}
    	}
    	// If you get a panic here due to a nil mod,
    	// you may have made a copy of a stackObjectRecord.
    	// You must use the original pointer.
    	res := mod.rodata + uintptr(r.gcdataoff)
    	return (*byte)(unsafe.Pointer(res))
    }
    
    // This is exported as ABI0 via linkname so obj can call it.
    //
    //go:nosplit
    //go:linkname morestackc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top