Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 419 for Int64 (0.02 sec)

  1. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // DEPRECATED.
      // A sequence number representing a specific generation of the template.
      // Populated by the system. It can be set only during the creation.
      // +optional
      optional int64 templateGeneration = 5;
    
      // The number of old history to retain to allow rollback.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 10.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  2. tests/preload_suits_test.go

    	}
    
    	levelB1 := &LevelB1{Value: "foo"}
    	if err := DB.Create(levelB1).Error; err != nil {
    		t.Error(err)
    	}
    
    	levelB3 := &LevelB3{
    		Value:     "bar",
    		LevelB1ID: sql.NullInt64{Valid: true, Int64: int64(levelB1.ID)},
    		LevelB2s:  []*LevelB2{},
    	}
    	if err := DB.Create(levelB3).Error; err != nil {
    		t.Error(err)
    	}
    	levelB1.LevelB3s = []*LevelB3{levelB3}
    
    	want := []*LevelB1{levelB1}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  3. internal/ioutil/ioutil_test.go

    	if string(b) != expected {
    		t.Errorf("AppendFile() failed, expected: %s, got %s", expected, string(b))
    	}
    }
    
    func TestSkipReader(t *testing.T) {
    	testCases := []struct {
    		src      io.Reader
    		skipLen  int64
    		expected string
    	}{
    		{bytes.NewBuffer([]byte("")), 0, ""},
    		{bytes.NewBuffer([]byte("")), 1, ""},
    		{bytes.NewBuffer([]byte("abc")), 0, "abc"},
    		{bytes.NewBuffer([]byte("abc")), 1, "bc"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/authentication/v1/generated.proto

      // token issuer may return a token with a different validity duration so a
      // client needs to check the 'expiration' field in a response.
      // +optional
      optional int64 expirationSeconds = 4;
    
      // BoundObjectRef is a reference to an object that the token will be bound to.
      // The token will only be valid for as long as the bound object exists.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. internal/kms/kes.go

    		}
    	}
    
    	list := make([]madmin.KMSAPI, 0, len(APIs))
    	for _, api := range APIs {
    		list = append(list, madmin.KMSAPI{
    			Method:  api.Method,
    			Path:    api.Path,
    			MaxBody: api.MaxBody,
    			Timeout: int64(api.Timeout.Truncate(time.Second).Seconds()),
    		})
    	}
    	return list, nil
    }
    
    // Stat returns the current KES status containing a
    // list of KES endpoints and the default key ID.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    		fi.AddObjectPart(part.Number, part.ETag, part.Size, part.ActualSize, part.ModTime, part.Index, part.Checksums)
    	}
    
    	// Calculate full object size.
    	var objectSize int64
    
    	// Calculate consolidated actual size.
    	var objectActualSize int64
    
    	// Order online disks in accordance with distribution order.
    	// Order parts metadata in accordance with distribution order.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    			if err != nil {
    				return err
    			}
    			length := binary.LittleEndian.Uint32(tmp[:])
    			n, err := io.CopyBuffer(w, io.LimitReader(respBody, int64(length)), buf)
    			if err != nil {
    				return err
    			}
    			if n != int64(length) {
    				return io.ErrUnexpectedEOF
    			}
    			continue
    		case 32:
    			continue
    		default:
    			return fmt.Errorf("unexpected filler byte: %d", tmp[0])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  8. internal/logger/logrotate.go

    	// If the directory does not exist, it will be created.
    	Directory string
    
    	// MaximumFileSize defines the maximum size of each log file in bytes.
    	MaximumFileSize int64
    
    	// FileNameFunc specifies the name a new file will take.
    	// FileNameFunc must ensure collisions in filenames do not occur.
    	// Do not rely on timestamps to be unique, high throughput writes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication-utils_test.go

    )
    
    var replicatedInfosTests = []struct {
    	name                              string
    	tgtInfos                          []replicatedTargetInfo
    	expectedCompletedSize             int64
    	expectedReplicationStatusInternal string
    	expectedReplicationStatus         replication.StatusType
    	expectedOpType                    replication.Type
    	expectedAction                    replicationAction
    }{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. cmd/site-replication-utils.go

    		ReplicatedCount: rs.ReplicatedCount,
    		FailedSize:      rs.FailedSize,
    		FailedCount:     rs.FailedCount,
    		Bucket:          rs.Bucket,
    		Object:          rs.Object,
    		NumBuckets:      int64(rs.TotBuckets),
    	}
    	for b, st := range rs.BucketStatuses {
    		if st == ResyncFailed {
    			m.FailedBuckets = append(m.FailedBuckets, b)
    		}
    	}
    	return &m
    }
    
    // save in-memory stats to disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top