- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 802 for mkcounter (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc
// [counter_lo, counter_hi, key] // // RngReadAndSkip increments the 128 bit counter value by 256 * delta and // returns the original state value. // // For Threefry, the resource variable holds a tensor<2xi64> with the state: // [counter, key] // // RngReadAndSkip increments the 64 bit counter value by 256 * delta and // returns a tensor<3xi64> value [counter, key, 0]. class DecomposeRngReadAndSkipOp : public RewritePattern { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 8.1K bytes - Viewed (0) -
tensorflow/c/eager/tfe_monitoring_internal.h
TFE_MonitoringCounter(const char* name, const char* description, LabelDesc&&... label) { counter = absl::WrapUnique(tensorflow::monitoring::Counter<NumLabels>::New( name, description, label...)); } std::unique_ptr<tensorflow::monitoring::Counter<NumLabels>> counter; }; struct TFE_MonitoringCounter0 : TFE_MonitoringCounter<0> { using TFE_MonitoringCounter::TFE_MonitoringCounter; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 5.2K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
if !reflect.DeepEqual(netns1, netns2) { t.Fatalf("Expected the same Netns for the same uid, got %v and %v", netns1, netns2) } if counter.Load() != 2 { t.Fatalf("Expected openNetns to be called twice, got %d", counter.Load()) } } func TestUpsertPodCacheWithNewInode(t *testing.T) { counter.Store(0) p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 2)) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/volume/flexvolume/plugin.go
return plugin.newMounterInternal(spec, pod, plugin.host.GetMounter(plugin.GetPluginName()), plugin.runner) } // newMounterInternal is the internal mounter routine to build the volume. func (plugin *flexVolumePlugin) newMounterInternal(spec *volume.Spec, pod *api.Pod, mounter mount.Interface, runner exec.Interface) (volume.Mounter, error) { sourceDriver, err := getDriver(spec)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.7K bytes - Viewed (0) -
src/internal/coverage/defs.go
//..................................................................... // // Counter data definitions: // // A counter data file is composed of a file header followed by one or // more "segments" (each segment representing a given run or partial // run of a give binary) followed by a footer. // CovCounterMagic holds the magic string for a coverage counter-data file. var CovCounterMagic = [4]byte{'\x00', '\x63', '\x77', '\x6d'}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K bytes - Viewed (0) -
pkg/volume/fc/fc.go
func (plugin *fcPlugin) newUnmounterInternal(volName string, podUID types.UID, manager diskManager, mounter mount.Interface, exec utilexec.Interface) (volume.Unmounter, error) { return &fcDiskUnmounter{ fcDisk: &fcDisk{ podUID: podUID, volName: volName, manager: manager, plugin: plugin, io: &osIOHandler{}, }, mounter: mounter, deviceUtil: util.NewDeviceHandler(util.NewIOHandler()), exec: exec,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics.cc
"/tensorflow/core/saved_model/write/count", "The number of SavedModels successfully written.", "write_version"); // Counter that tracks total number and `write_version` of SavedModels read. auto* saved_model_read_counter = monitoring::Counter<1>::New( "/tensorflow/core/saved_model/read/count", "The number of SavedModels successfully loaded.", "write_version");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_test.go
fakeMounter := mount.NewFakeMounter(nil) fakeExec := &testingexec.FakeExec{} mounter, err := plug.(*iscsiPlugin).newMounterInternal(spec, types.UID("poduid"), fakeManager, fakeMounter, fakeExec, nil) if err != nil { t.Errorf("Failed to make a new Mounter: %v", err) } if mounter == nil { t.Error("Got a nil Mounter") } path := mounter.GetPath()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 16.4K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8_generic.go
b[11][0] = x64 b[11][1] = x64 // Counters. if goarch.BigEndian { b[12][0] = uint64(counter+0)<<32 | uint64(counter+1) b[12][1] = uint64(counter+2)<<32 | uint64(counter+3) } else { b[12][0] = uint64(counter+0) | uint64(counter+1)<<32 b[12][1] = uint64(counter+2) | uint64(counter+3)<<32 } // Zeros. b[13][0] = 0 b[13][1] = 0 b[14][0] = 0 b[14][1] = 0 b[15][0] = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:32:54 UTC 2023 - 6.3K bytes - Viewed (0) -
src/internal/coverage/cfile/testdata/harness.go
} else { got := fmt.Sprintf("%v", err) checkWant("meta data", got) } // Now try to emit counter data file to a bad dir. if err := coverage.WriteCountersDir(mangled); err == nil { log.Fatal("expected error emitting counter data to bad dir") } else { got := fmt.Sprintf("%v", err) checkWant("counter data", got) } } func emitToUnwritableDir() { log.SetPrefix("emitToUnwritableDir: ")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 6.9K bytes - Viewed (0)