Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 126 for const2 (0.14 sec)

  1. src/cmd/link/internal/ld/elf.go

     * May waste some.
     * On FreeBSD, cannot be larger than a page.
     */
    const (
    	ELFRESERVE = 4096
    )
    
    /*
     * We use the 64-bit data structures on both 32- and 64-bit machines
     * in order to write the code just once.  The 64-bit data structure is
     * written in the 32-bit format on the 32-bit machines.
     */
    const (
    	NSECT = 400
    )
    
    var (
    	Nelfsym = 1
    
    	elf64 bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    // (can be junk).
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    const (
    	// A malloc header is functionally a single type pointer, but
    	// we need to use 8 here to ensure 8-byte alignment of allocations
    	// on 32-bit platforms. It's wasteful, but a lot of code relies on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    }
    
    var delimPairs = []string{
    	"", "", // default
    	"{{", "}}", // same as default
    	"<<", ">>", // distinct
    	"|", "|", // same
    	"(日)", "(本)", // peculiar
    }
    
    func TestDelims(t *testing.T) {
    	const hello = "Hello, world"
    	var value = struct{ Str string }{hello}
    	for i := 0; i < len(delimPairs); i += 2 {
    		text := ".Str"
    		left := delimPairs[i+0]
    		trueLeft := left
    		right := delimPairs[i+1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. src/net/http/fs_test.go

    		}
    	}
    }
    
    func TestFileServerEscapesNames(t *testing.T) { run(t, testFileServerEscapesNames) }
    func testFileServerEscapesNames(t *testing.T, mode testMode) {
    	const dirListPrefix = "<!doctype html>\n<meta name=\"viewport\" content=\"width=device-width\">\n<pre>\n"
    	const dirListSuffix = "\n</pre>\n"
    	tests := []struct {
    		name, escaped string
    	}{
    		{`simple_name`, `<a href="simple_name">simple_name</a>`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/types.go

    type FailurePolicyType string
    
    const (
    	// Ignore means that an error calling the webhook is ignored.
    	Ignore FailurePolicyType = "Ignore"
    	// Fail means that an error calling the webhook causes the admission to fail.
    	Fail FailurePolicyType = "Fail"
    )
    
    // MatchPolicyType specifies the type of match policy
    type MatchPolicyType string
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. src/syscall/syscall_windows.go

    import (
    	errorspkg "errors"
    	"internal/asan"
    	"internal/bytealg"
    	"internal/itoa"
    	"internal/msan"
    	"internal/oserror"
    	"internal/race"
    	"runtime"
    	"sync"
    	"unsafe"
    )
    
    type Handle uintptr
    
    const InvalidHandle = ^Handle(0)
    
    // StringToUTF16 returns the UTF-16 encoding of the UTF-8 string s,
    // with a terminating NUL added. If s contains a NUL byte this
    // function panics instead of returning an error.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  8. src/strings/strings_test.go

    			}
    		}
    	}
    
    	const maxInt = int(^uint(0) >> 1)
    
    	runTestCases("", []testCase{
    		0: {"--", -2147483647, "negative"},
    		1: {"", maxInt, ""},
    		2: {"-", 10, ""},
    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    	const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  9. src/time/time.go

    	// determine the minute, hour, month, day, and year
    	// that correspond to this Time.
    	// The nil location means UTC.
    	// All UTC times are represented with loc==nil, never loc==&utcLoc.
    	loc *Location
    }
    
    const (
    	hasMonotonic = 1 << 63
    	maxWall      = wallToInternal + (1<<33 - 1) // year 2157
    	minWall      = wallToInternal               // year 1885
    	nsecMask     = 1<<30 - 1
    	nsecShift    = 30
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_test.go

    // print when a handshake completes if run with “-state”.
    const opensslEndOfHandshake = "SSL_accept:SSLv3/TLS write finished"
    
    // opensslReadKeyUpdate is a message that the “openssl s_server” tool will
    // print when a KeyUpdate message is received if run with “-state”.
    const opensslReadKeyUpdate = "SSL_accept:TLSv1.3 read client key update"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top