Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 447 for uint32 (0.11 sec)

  1. internal/logger/target/testlogger/testlogger.go

    )
    
    // T is the test logger.
    var T = &testLogger{}
    
    func init() {
    	logger.AddSystemTarget(context.Background(), T)
    }
    
    type testLogger struct {
    	current atomic.Pointer[testing.TB]
    	action  atomic.Int32
    }
    
    // SetLogTB will set the logger to output to tb.
    // Call the returned function to disable logging.
    func (t *testLogger) SetLogTB(tb testing.TB) func() {
    	return t.setTB(tb, logMessage)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/data-usage-cache_test.go

    	tests := []struct {
    		sizes []int64
    		want  map[string]uint64
    	}{
    		{
    			sizes: []int64{100, 1000, 72_000, 100_000},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. internal/lsync/lrwmutex_test.go

    	doTestParallelReaders(1, 4)
    	doTestParallelReaders(3, 4)
    	doTestParallelReaders(4, 2)
    }
    
    // Borrowed from rwmutex_test.go
    func reader(rwm *LRWMutex, numIterations int, activity *int32, cdone chan bool) {
    	for i := 0; i < numIterations; i++ {
    		if rwm.GetRLock(context.Background(), "", "", time.Second) {
    			n := atomic.AddInt32(activity, 1)
    			if n < 1 || n >= 10000 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/events/v1beta1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time deprecatedLastTimestamp = 14;
    
      // deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
      // +optional
      optional int32 deprecatedCount = 15;
    }
    
    // EventList is a list of Event objects.
    message EventList {
      // Standard list metadata.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. cmd/os-dirent_namelen_bsd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "syscall"
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	return uint64(dirent.Namlen), nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 982 bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/core/v1/generated.proto

      optional int32 replicas = 1;
    
      // The number of pods that have labels matching the labels of the pod template of the replication controller.
      // +optional
      optional int32 fullyLabeledReplicas = 2;
    
      // The number of ready replicas for this replication controller.
      // +optional
      optional int32 readyReplicas = 4;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  7. internal/kms/kms.go

    type Metrics struct {
    	ReqOK   uint64                   `json:"kms_req_success"` // Number of requests that succeeded
    	ReqErr  uint64                   `json:"kms_req_error"`   // Number of requests that failed with a defined error
    	ReqFail uint64                   `json:"kms_req_failure"` // Number of requests that failed with an undefined error
    	Latency map[time.Duration]uint64 `json:"kms_resp_time"`   // Latency histogram of all requests
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/events/v1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time deprecatedLastTimestamp = 14;
    
      // deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
      // +optional
      optional int32 deprecatedCount = 15;
    }
    
    // EventList is a list of Event objects.
    message EventList {
      // Standard list metadata.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // Defaults to 3.
      // +optional
      optional int32 successfulJobsHistoryLimit = 6;
    
      // The number of failed finished jobs to retain.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 1.
      // +optional
      optional int32 failedJobsHistoryLimit = 7;
    }
    
    // CronJobStatus represents the current state of a cron job.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. internal/store/queuestore.go

    // QueueStore - Filestore for persisting items.
    type QueueStore[_ any] struct {
    	sync.RWMutex
    	entryLimit uint64
    	directory  string
    	fileExt    string
    
    	entries map[string]int64 // key -> modtime as unix nano
    }
    
    // NewQueueStore - Creates an instance for QueueStore.
    func NewQueueStore[I any](directory string, limit uint64, ext string) *QueueStore[I] {
    	if limit == 0 {
    		limit = defaultLimit
    	}
    
    	if ext == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top