- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 763 for fconst (0.04 sec)
-
internal/http/headers.go
Authorization = "Authorization" Action = "Action" Range = "Range" ) // Non standard S3 HTTP response constants const ( XCache = "X-Cache" XCacheLookup = "X-Cache-Lookup" ) // Standard S3 HTTP request constants const ( IfModifiedSince = "If-Modified-Since" IfUnmodifiedSince = "If-Unmodified-Since" IfMatch = "If-Match" IfNoneMatch = "If-None-Match"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:31:56 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
TFE_NewContext(opts.get(), status.get()), TFE_DeleteContext); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); const char* custom0 = "/job:localhost/replica:0/task:0/device:CUSTOM:0"; const char* custom1 = "/job:localhost/replica:0/task:0/device:CUSTOM:1"; bool arrived = false; bool executed = false; RegisterLoggingDevice(context.get(), custom0,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 27 23:39:24 UTC 2020 - 18.4K bytes - Viewed (0) -
internal/lsync/lrwmutex.go
// blocks until the mutex is available. func (lm *LRWMutex) Lock() { const isWriteLock = true lm.lockLoop(context.Background(), lm.id, lm.source, math.MaxInt64, isWriteLock) } // GetLock tries to get a write lock on lm before the timeout occurs. func (lm *LRWMutex) GetLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) { const isWriteLock = true return lm.lockLoop(ctx, id, source, timeout, isWriteLock) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
package cmd import ( "encoding/binary" "encoding/hex" "encoding/json" "fmt" "time" "github.com/cespare/xxhash/v2" jsoniter "github.com/json-iterator/go" ) // XL constants. const ( // XL metadata file carries per object metadata. xlStorageFormatFileV1 = "xl.json" ) // Valid - tells us if the format is sane by validating // format version and erasure coding information.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
internal/grid/grid_test.go
})) // local to remote remoteConn := local.Connection(remoteHost) remoteConn.WaitForConnect(context.Background()) defer testlogger.T.SetErrorTB(t)() t.Run("localToRemote", func(t *testing.T) { const testPayload = "Hello Grid World!" start := time.Now() resp, err := remoteConn.Request(context.Background(), handlerTest, []byte(testPayload)) errFatal(err) if string(resp) != testPayload {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
src/bytes/buffer.go
package bytes // Simple byte buffer for marshaling data. import ( "errors" "io" "unicode/utf8" ) // smallBufferSize is an initial allocation minimal capacity. const smallBufferSize = 64 // A Buffer is a variable-sized buffer of bytes with [Buffer.Read] and [Buffer.Write] methods. // The zero value for Buffer is an empty buffer ready to use. type Buffer struct {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_debug.cc
#include "tensorflow/core/common_runtime/eager/tensor_handle.h" #include "tensorflow/core/platform/status.h" using tensorflow::string; namespace { std::vector<int64_t> TensorShapeAsVector(const tensorflow::TensorHandle& handle, absl::Status* status) { std::vector<int64_t> shape; int rank = -1; *status = handle.NumDims(&rank); if (!status->ok()) { return shape;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt
"com.squareup.okhttp3.urlconnection", ) /** Equinox must also be on the testing classpath. */ private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi" private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8" private const val REPO_NAME = "OsgiTest" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/grid/benchmark_test.go
errFatal := func(err error) { b.Helper() if err != nil { b.Fatal(err) } } grid, err := SetupTestGrid(n) errFatal(err) b.Cleanup(grid.Cleanup) const messages = 10 // Create n managers. const payloadSize = 512 rng := rand.New(rand.NewSource(time.Now().UnixNano())) payload := make([]byte, payloadSize) _, err = rng.Read(payload) errFatal(err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0) -
cmd/metacache-bucket_test.go
package cmd import ( "fmt" "testing" ) func Benchmark_bucketMetacache_findCache(b *testing.B) { bm := newBucketMetacache("", false) const elements = 50000 const paths = 100 if elements%paths != 0 { b.Fatal("elements must be divisible by the number of paths") } var pathNames [paths]string for i := range pathNames[:] { pathNames[i] = fmt.Sprintf("prefix/%d", i)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 25 23:29:45 UTC 2022 - 1.8K bytes - Viewed (0)