- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for SetCounter (0.22 sec)
-
src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go
panic("chacha20poly1305: invalid buffer overlap") } var polyKey [32]byte s, _ := chacha20.NewUnauthenticatedCipher(c.key[:], nonce) s.XORKeyStream(polyKey[:], polyKey[:]) s.SetCounter(1) // set the counter to 1, skipping 32 bytes s.XORKeyStream(ciphertext, plaintext) p := poly1305.New(&polyKey) writeWithPadding(p, additionalData) writeWithPadding(p, ciphertext)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 2.2K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/rules/JacocoLimitImpl.java
private String value = "COVEREDRATIO"; private BigDecimal minimum; private BigDecimal maximum; @Override public String getCounter() { return counter; } @Override public void setCounter(String counter) { this.counter = counter; } @Override public String getValue() { return value; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/rules/JacocoLimit.java
* Valid values are INSTRUCTION, LINE, BRANCH, COMPLEXITY, METHOD and CLASS. Defaults to INSTRUCTION. */ @Input String getCounter(); /** * Sets the counter that applies to the limit. * * @param counter Counter */ void setCounter(String counter); /** * The value that applies to the limit as defined by
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 2.6K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20/chacha_generic.go
d = bits.RotateLeft32(d, 8) c += d b ^= c b = bits.RotateLeft32(b, 7) return a, b, c, d } // SetCounter sets the Cipher counter. The next invocation of XORKeyStream will // behave as if (64 * counter) bytes had been encrypted so far. // // To prevent accidental counter reuse, SetCounter panics if counter is less // than the current value. // // Note that the execution time of XORKeyStream is not independent of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 13.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy
abstract class CountRecorder implements TransformAction<Parameters> { interface Parameters extends TransformParameters{ @Input Counter getCounter() void setCounter(Counter counter) } @InputArtifact abstract Provider<FileSystemLocation> getInputArtifact() CountRecorder() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 10.8K bytes - Viewed (0) -
pkg/kubelet/winstats/network_stats_test.go
} func TestNetworkGetDataFailures(t *testing.T) { netCounter := newFakedNetworkCounters(true) _, err := netCounter.getData() expectedMsg := "Expected getDataList error." if err == nil || err.Error() != expectedMsg { t.Fatalf("expected error message `%s` but got `%v`", expectedMsg, err) } _, err = netCounter.getData() netCounter.packetsReceivedPerSecondCounter.(*fakePerfCounterImpl).raiseError = false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 12:08:15 UTC 2023 - 5.2K bytes - Viewed (0) -
pkg/volume/iscsi/attacher.go
func (plugin *iscsiPlugin) NewDeviceMounter() (volume.DeviceMounter, error) { return plugin.NewAttacher() } func (plugin *iscsiPlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { mounter := plugin.host.GetMounter(iscsiPluginName) return mounter.GetMountRefs(deviceMountPath) } func (attacher *iscsiAttacher) Attach(spec *volume.Spec, nodeName types.NodeName) (string, error) { return "", nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 04 08:51:31 UTC 2022 - 6.8K bytes - Viewed (0) -
pkg/volume/fc/attacher.go
func (plugin *fcPlugin) NewDeviceMounter() (volume.DeviceMounter, error) { return plugin.NewAttacher() } func (plugin *fcPlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) { mounter := plugin.host.GetMounter(plugin.GetPluginName()) return mounter.GetMountRefs(deviceMountPath) } func (attacher *fcAttacher) Attach(spec *volume.Spec, nodeName types.NodeName) (string, error) { return "", nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 31 12:02:51 UTC 2022 - 7.5K bytes - Viewed (0) -
pkg/volume/flexvolume/attacher.go
func (a *flexVolumeAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, _ volume.DeviceMounterArgs) error { // Mount only once. alreadyMounted, err := prepareForMount(a.plugin.host.GetMounter(a.plugin.GetPluginName()), deviceMountPath) if err != nil { return err } if alreadyMounted { return nil } call := a.plugin.NewDriverCall(mountDeviceCmd) call.Append(deviceMountPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 03 23:29:42 UTC 2021 - 3.6K bytes - Viewed (0) -
pkg/volume/flexvolume/plugin.go
func (plugin *flexVolumePlugin) NewMounter(spec *volume.Spec, pod *api.Pod, _ volume.VolumeOptions) (volume.Mounter, error) { return plugin.newMounterInternal(spec, pod, plugin.host.GetMounter(plugin.GetPluginName()), plugin.runner) } // newMounterInternal is the internal mounter routine to build the volume.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.7K bytes - Viewed (0)