- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 1,022 for mybool (0.05 sec)
-
cmd/erasure-multipart.go
} // checkUploadIDExists - verify if a given uploadID exists and is valid. func (er erasureObjects) checkUploadIDExists(ctx context.Context, bucket, object, uploadID string, write bool) (fi FileInfo, metArr []FileInfo, err error) { defer func() { if errors.Is(err, errFileNotFound) { err = errUploadIDNotFound } }() uploadIDPath := er.getUploadIDDir(bucket, object, uploadID)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
docs/ja/docs/python-types.md
# Pythonの型の紹介 **Python 3.6以降** では「型ヒント」オプションがサポートされています。 これらの **"型ヒント"** は変数の<abbr title="例: str, int, float, bool">型</abbr>を宣言することができる新しい構文です。(Python 3.6以降) 変数に型を宣言することでエディターやツールがより良いサポートを提供することができます。 ここではPythonの型ヒントについての **クイックチュートリアル/リフレッシュ** で、**FastAPI**でそれらを使用するために必要な最低限のことだけをカバーしています。...実際には本当に少ないです。 **FastAPI** はすべてこれらの型ヒントに基づいており、多くの強みと利点を与えてくれます。 しかしたとえまったく **FastAPI** を使用しない場合でも、それらについて少し学ぶことで利点を得ることができるでしょう。 /// note | "備考"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
src/bytes/buffer.go
if b == nil { // Special case, useful in debugging. return "<nil>" } return string(b.buf[b.off:]) } // empty reports whether the unread portion of the buffer is empty. func (b *Buffer) empty() bool { return len(b.buf) <= b.off } // Len returns the number of bytes of the unread portion of the buffer; // b.Len() == len(b.Bytes()). func (b *Buffer) Len() int { return len(b.buf) - b.off }
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/parallel_device/parallel_device_test.cc
std::unique_ptr<TF_DeviceList, decltype(&TF_DeleteDeviceList)> devices( TFE_ContextListDevices(context.get(), status.get()), TF_DeleteDeviceList); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); bool has_tpu = false; for (int device_index = 0; device_index < TF_DeviceListCount(devices.get()); ++device_index) { std::string device_type = TF_DeviceListType(devices.get(), device_index, status.get());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
cmd/xl-storage_test.go
// create xlStorage test setup xl, _, err := newXLStorageTestSetup(t) if err != nil { t.Fatalf("Unable to create xlStorage test setup, %s", err) } ctx := context.Background() volume := "myvol-vol" object := "my-object" if err := xl.MakeVol(ctx, volume); err != nil { t.Fatalf("Unable to create volume, %s", err) } var versions [50]string for i := range versions {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
if f.testWG != nil { defer f.testWG.Done() } args := f.Called(ctx, pod, podIPs, netNs) return args.Error(0) } func (f *fakeServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod, isDelete bool) error { if f.testWG != nil { defer f.testWG.Done() } args := f.Called(ctx, pod, isDelete) return args.Error(0) } func (f *fakeServer) Start(ctx context.Context) { }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 18.7K bytes - Viewed (0) -
internal/kms/kms.go
// requests with a latency at least as large as the given request // latency and update its and all subsequent counters. bucket := slices.IndexFunc(k.latencyBuckets, func(b time.Duration) bool { return latency < b }) if bucket < 0 { bucket = len(k.latencyBuckets) - 1 } for i := bucket; i < len(k.latency); i++ { k.latency[i].Add(1) } // Next, update the request counters
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
} // subdir determines the package based on the current working directory, // and returns the path to the package source relative to $GOROOT (or $GOPATH). func subdir() (pkgpath string, underGoRoot bool, err error) { cwd, err := os.Getwd() if err != nil { return "", false, err } cwd, err = filepath.EvalSymlinks(cwd) if err != nil { log.Fatal(err) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
succmodTimes []time.Time numVersions []int expectedErr error expectedQuorum int expectedSuccModTime time.Time expectedNumVersions int expectedIsLatest bool }{ { fis: getNFInfo(16, 16, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil), modTime: time.Unix(1603863445, 0), expectedErr: nil, expectedQuorum: 8, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:02:50 UTC 2024 - 13.5K bytes - Viewed (0) -
cmd/signature-v4.go
// compareSignatureV4 returns true if and only if both signatures // are equal. The signatures are expected to be HEX encoded strings // according to the AWS S3 signature V4 spec. func compareSignatureV4(sig1, sig2 string) bool { // The CTC using []byte(str) works because the hex encoding // is unique for a sequence of bytes. See also compareSignatureV2. return subtle.ConstantTimeCompare([]byte(sig1), []byte(sig2)) == 1 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0)