Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for const2 (0.09 sec)

  1. cmd/test-utils_test.go

    	initHelp()
    
    	resetTestGlobals()
    
    	globalIsCICD = true
    
    	os.Exit(m.Run())
    }
    
    // concurrency level for certain parallel tests.
    const testConcurrencyLevel = 10
    
    const iso8601TimeFormat = "2006-01-02T15:04:05.000Z"
    
    // Excerpts from @lsegal - https://github.com/aws/aws-sdk-js/issues/659#issuecomment-120477258
    //
    //	User-Agent:
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  2. src/runtime/mheap.go

    // selecting that bit from *bytep.
    func (b *gcBits) bitp(n uintptr) (bytep *uint8, mask uint8) {
    	return b.bytep(n / 8), 1 << (n % 8)
    }
    
    const gcBitsChunkBytes = uintptr(64 << 10)
    const gcBitsHeaderBytes = unsafe.Sizeof(gcBitsHeader{})
    
    type gcBitsHeader struct {
    	free uintptr // free is the index into bits of the next free byte.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier.go

    	// we switch into "large cluster mode" and optimize for iptables
    	// performance over iptables debuggability
    	largeClusterEndpointsThreshold = 1000
    )
    
    const sysctlRouteLocalnet = "net/ipv4/conf/all/route_localnet"
    const sysctlNFConntrackTCPBeLiberal = "net/netfilter/nf_conntrack_tcp_be_liberal"
    
    // NewDualStackProxier creates a MetaProxier instance, with IPv4 and IPv6 proxies.
    func NewDualStackProxier(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    	"github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/minio/pkg/v3/sync/errgroup"
    )
    
    const (
    	objectLockConfig        = "object-lock.xml"
    	bucketTaggingConfig     = "tagging.xml"
    	bucketReplicationConfig = "replication.xml"
    
    	xMinIOErrCodeHeader = "x-minio-error-code"
    	xMinIOErrDescHeader = "x-minio-error-desc"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/parser.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syntax
    
    import (
    	"fmt"
    	"go/build/constraint"
    	"io"
    	"strconv"
    	"strings"
    )
    
    const debug = false
    const trace = false
    
    type parser struct {
    	file  *PosBase
    	errh  ErrorHandler
    	mode  Mode
    	pragh PragmaHandler
    	scanner
    
    	base      *PosBase // current position base
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  6. src/time/format.go

    // millisecond precision.
    //
    // Some valid layouts are invalid time values for time.Parse, due to formats
    // such as _ for space padding and Z for zone information.
    const (
    	Layout      = "01/02 03:04:05PM '06 -0700" // The reference time, in numerical order.
    	ANSIC       = "Mon Jan _2 15:04:05 2006"
    	UnixDate    = "Mon Jan _2 15:04:05 MST 2006"
    	RubyDate    = "Mon Jan 02 15:04:05 -0700 2006"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  7. src/crypto/x509/x509.go

    	Algorithm pkix.AlgorithmIdentifier
    	PublicKey asn1.BitString
    }
    
    // RFC 5280,  4.2.1.1
    type authKeyId struct {
    	Id []byte `asn1:"optional,tag:0"`
    }
    
    type SignatureAlgorithm int
    
    const (
    	UnknownSignatureAlgorithm SignatureAlgorithm = iota
    
    	MD2WithRSA  // Unsupported.
    	MD5WithRSA  // Only supported for signing, not verification.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  8. src/sync/atomic/atomic_test.go

    //
    // The loop over power-of-two values is meant to
    // ensure that the operations apply to the full word size.
    // The struct fields x.before and x.after check that the
    // operations do not extend past the full word size.
    
    const (
    	magic32 = 0xdedbeef
    	magic64 = 0xdeddeadbeefbeef
    )
    
    func TestSwapInt32(t *testing.T) {
    	var x struct {
    		before int32
    		i      int32
    		after  int32
    	}
    	x.before = magic32
    	x.after = magic32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server_test.go

    }
    
    // TestHandshakeServerSNIGetCertificateError tests to make sure that errors in
    // GetCertificate result in a tls alert.
    func TestHandshakeServerSNIGetCertificateError(t *testing.T) {
    	const errMsg = "TestHandshakeServerSNIGetCertificateError error"
    
    	serverConfig := testConfig.Clone()
    	serverConfig.GetCertificate = func(clientHello *ClientHelloInfo) (*Certificate, error) {
    		return nil, errors.New(errMsg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof_test.go

    	c := make(chan bool)
    	go func() {
    		awaitBlockedGoroutine(t, "chan receive", "blockChanClose", 1)
    		close(c)
    	}()
    	<-c
    }
    
    func blockSelectRecvAsync(t *testing.T) {
    	const numTries = 3
    	c := make(chan bool, 1)
    	c2 := make(chan bool, 1)
    	go func() {
    		for i := 0; i < numTries; i++ {
    			awaitBlockedGoroutine(t, "select", "blockSelectRecvAsync", 1)
    			c <- true
    		}
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top