- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 467 for Uint64 (0.12 sec)
-
cmd/warm-backend-gcs.go
} return destObj } // FIXME: add support for remote version ID in GCS remote tier and remove this. // Currently it's a no-op. func (gcs *warmBackendGCS) Put(ctx context.Context, key string, data io.Reader, length int64) (remoteVersionID, error) { object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key)) // TODO: set storage class w := object.NewWriter(ctx) if gcs.StorageClass != "" { w.ObjectAttrs.StorageClass = gcs.StorageClass
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sat Jun 22 05:26:45 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/http/response-recorder.go
// ReadFrom implements support for calling internal io.ReaderFrom implementations // returns an error if the underlying ResponseWriter does not implement io.ReaderFrom func (lrw *ResponseRecorder) ReadFrom(r io.Reader) (int64, error) { if lrw.ReaderFrom != nil { n, err := lrw.ReaderFrom.ReadFrom(r) lrw.bytesWritten += int(n) return n, err } return 0, ErrNotImplemented }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 5.5K bytes - Viewed (0) -
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 Oct 27 19:28:09 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
tests/associations_test.go
package tests_test import ( "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" . "gorm.io/gorm/utils/tests" ) func AssertAssociationCount(t *testing.T, data interface{}, name string, result int64, reason string) { if count := DB.Model(data).Association(name).Count(); count != result { t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count) } var newUser User
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
callbacks/create.go
if !ok { if v, ok := values.(*[]map[string]interface{}); ok { if *v != nil { mapValues = *v } } } if config.LastInsertIDReversed { insertID -= int64(len(mapValues)-1) * schema.DefaultAutoIncrementIncrement } for _, mapValue := range mapValues { if mapValue != nil { mapValue[pkFieldName] = insertID }
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
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 Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Aug 08 20:27:40 UTC 2023 - 9.3K bytes - Viewed (0) -
internal/config/dns/operator_dns.go
) func (c *OperatorDNS) addAuthHeader(r *http.Request) error { if c.username == "" || c.password == "" { return nil } claims := &jwt.StandardClaims{ ExpiresAt: int64(15 * time.Minute), Issuer: c.username, Subject: config.EnvDNSWebhook, } token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims) ss, err := token.SignedString([]byte(c.password)) if err != nil {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 6.6K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
} }) } } func TestValue_bytesToInt(t *testing.T) { type fields struct { value interface{} } tests := []struct { name string fields fields want int64 wantOK bool }{ { name: "zero", fields: fields{ value: []byte("0"), }, want: 0, wantOK: true, }, { name: "minuszero", fields: fields{
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
api/go1.11.txt
pkg database/sql, type DBStats struct, InUse int pkg database/sql, type DBStats struct, MaxIdleClosed int64 pkg database/sql, type DBStats struct, MaxLifetimeClosed int64 pkg database/sql, type DBStats struct, MaxOpenConnections int pkg database/sql, type DBStats struct, WaitCount int64 pkg database/sql, type DBStats struct, WaitDuration time.Duration pkg debug/elf, const ELFOSABI_AROS = 15
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Aug 22 03:48:56 UTC 2018 - 25K bytes - Viewed (0) -
RELEASE.md
* `tf.where` op for data types `tf.int32`/`tf.uint32`/`tf.int8`/`tf.uint8`/`tf.int64`. * `tf.random.normal` op for output data type `tf.float32` on CPU. * `tf.random.uniform` op for output data type `tf.float32` on CPU. * `tf.random.categorical` op for output data type `tf.int64` on CPU. * `tensorflow.experimental.tensorrt`:
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Tue Oct 22 14:33:53 UTC 2024 - 735.3K bytes - Viewed (0)