Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for Clarke (0.16 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    	sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent
    	if sent == nil {
    		panic("expected snapshot sent")
    	}
    	sendAck(ztunClient)
    	ztunClient.Close()
    	// this will retry for a bit, so shouldn't flake
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(0))
    }
    
    func TestZtunnelRemovePod(t *testing.T) {
    	ztunnelKeepAliveCheckInterval = time.Second / 10
    	mt := monitortest.New(t)
    	setupLogging()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. tests/sql_builder_test.go

    	).Or(
    		DB.Where("pizza = ?", "hawaiian").Where("size = ?", "xlarge"),
    	).Find(&Pizza{}).Statement
    
    	execStmt := dryRunDB.Exec("WHERE (pizza = ? AND (size = ? OR size = ?)) OR (pizza = ? AND size = ?)", "pepperoni", "small", "medium", "hawaiian", "xlarge").Statement
    
    	result := DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. src/bufio/bufio.go

    }
    
    const minReadBufferSize = 16
    const maxConsecutiveEmptyReads = 100
    
    // NewReaderSize returns a new [Reader] whose buffer has at least the specified
    // size. If the argument io.Reader is already a [Reader] with large enough
    // size, it returns the underlying [Reader].
    func NewReaderSize(rd io.Reader, size int) *Reader {
    	// Is it already a Reader?
    	b, ok := rd.(*Reader)
    	if ok && len(b.buf) >= size {
    		return b
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  4. cmd/perf-tests.go

    	r := &netperfReader{eof: make(chan struct{})}
    	r.buf = make([]byte, 128*humanize.KiByte)
    	rand.Read(r.buf)
    
    	connectionsPerPeer := 16
    
    	if len(globalNotificationSys.peerClients) > 16 {
    		// For a large cluster it's enough to have 1 connection per peer to saturate the network.
    		connectionsPerPeer = 1
    	}
    
    	errStr := ""
    	var wg sync.WaitGroup
    	for index := range globalNotificationSys.peerClients {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock.go

    			return fmt.Errorf("Default retention period too large for 'Days' %d", *retention.Days)
    		}
    	} else if *retention.Years == 0 {
    		return fmt.Errorf("Default retention period must be a positive integer value for 'Years'")
    	} else if *retention.Years > maximumRetentionYears {
    		return fmt.Errorf("Default retention period too large for 'Years' %d", *retention.Years)
    	}
    
    	*dr = DefaultRetention(retention)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. internal/config/policy/plugin/config.go

    		return false, err
    	}
    	defer o.args.CloseRespFn(resp.Body)
    
    	// Read the body to be saved later.
    	opaRespBytes, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return false, err
    	}
    
    	// Handle large OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz
    	type opaResultAllow struct {
    		Result struct {
    			Allow bool `json:"allow"`
    		} `json:"result"`
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. src/bytes/compare_test.go

    }
    
    func TestEndianBaseCompare(t *testing.T) {
    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    	a := make([]byte, maxLength)
    	b := make([]byte, maxLength)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  8. schema/schema.go

    // abandon dead code elimination for the entire binary.
    // As of go1.22 the compiler supports one special case of a string constant
    // being passed to MethodByName. For enterprise customers or those building
    // large binaries, this gives a significant reduction in binary size.
    // https://github.com/golang/go/issues/62257
    func callBackToMethodValue(modelType reflect.Value, cbType callbackType) reflect.Value {
    	switch cbType {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  9. cmd/sftp-server-driver.go

    			// Set the parent of the temporary access key, this is useful
    			// in obtaining service accounts by this cred.
    			cred.ParentUser = targetUser
    
    			// Set this value to LDAP groups, LDAP user can be part
    			// of large number of groups
    			cred.Groups = targetGroups
    
    			// Set the newly generated credentials, policyName is empty on purpose
    			// LDAP policies are applied automatically using their ldapUser, ldapGroups
    			// mapping.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. cmd/s3-zip-handlers.go

    		}
    		var terr zipindex.ErrNeedMoreData
    		if errors.As(err, &terr) {
    			size = int(terr.FromEnd)
    			if size <= 0 || size > 100<<20 {
    				return nil, ObjectInfo{}, errors.New("zip directory too large")
    			}
    		} else {
    			return nil, ObjectInfo{}, err
    		}
    	}
    }
    
    // headObjectInArchiveFileHandler - HEAD Object in an archive file
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top