Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for SetCounter (0.53 sec)

  1. 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)
  2. 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)
  3. pkg/volume/fc/fc.go

    	// Inject real implementations here, test through the internal function.
    	return plugin.newMounterInternal(spec, pod.UID, &fcUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. pkg/volume/local/local.go

    	}
    
    	return &localVolumeMounter{
    		localVolume: &localVolume{
    			pod:             pod,
    			podUID:          pod.UID,
    			volName:         spec.Name(),
    			mounter:         plugin.host.GetMounter(plugin.GetPluginName()),
    			hostUtil:        kvh.GetHostUtil(),
    			plugin:          plugin,
    			globalPath:      globalLocalPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/iscsi.go

    		return nil, fmt.Errorf("nil pod")
    	}
    	secret, err := createSecretMap(spec, plugin, pod.Namespace)
    	if err != nil {
    		return nil, err
    	}
    	return plugin.newMounterInternal(spec, pod.UID, &ISCSIUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()), secret)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pkg/volume/emptydir/empty_dir.go

    }
    
    func (plugin *emptyDirPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) {
    	return plugin.newMounterInternal(spec, pod, plugin.host.GetMounter(plugin.GetPluginName()), &realMountDetector{plugin.host.GetMounter(plugin.GetPluginName())}, opts)
    }
    
    func calculateEmptyDirMemorySize(nodeAllocatableMemory *resource.Quantity, spec *volume.Spec, pod *v1.Pod) *resource.Quantity {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. pkg/volume/portworx/portworx.go

    	}
    }
    
    func (plugin *portworxVolumePlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, _ volume.VolumeOptions) (volume.Mounter, error) {
    	return plugin.newMounterInternal(spec, pod.UID, plugin.util, plugin.host.GetMounter(plugin.GetPluginName()))
    }
    
    func (plugin *portworxVolumePlugin) newMounterInternal(spec *volume.Spec, podUID types.UID, manager portworxManager, mounter mount.Interface) (volume.Mounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. pkg/volume/configmap/configmap.go

    	return &configMapVolumeMounter{
    		configMapVolume: &configMapVolume{
    			spec.Name(),
    			pod.UID,
    			plugin,
    			plugin.host.GetMounter(plugin.GetPluginName()),
    			volume.NewCachedMetrics(volume.NewMetricsDu(getPath(pod.UID, spec.Name(), plugin.host))),
    		},
    		source:       *spec.Volume.ConfigMap,
    		pod:          *pod,
    		opts:         &opts,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations_test.go

    		return -1
    	}
    
    	for _, mf := range mfs {
    		if mf.Name != nil && *mf.Name == name {
    			mfMetric := mf.GetMetric()
    			for _, m := range mfMetric {
    				if m.GetCounter() != nil {
    					return int(m.GetCounter().GetValue())
    				}
    			}
    		}
    	}
    
    	return -1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. pkg/kubelet/volume_host.go

    	}
    
    	plugin, err := kvh.kubelet.volumePluginMgr.FindPluginBySpec(&spec)
    	if err != nil {
    		return nil, err
    	}
    
    	return plugin.NewUnmounter(spec.Name(), podUID)
    }
    
    func (kvh *kubeletVolumeHost) GetMounter(pluginName string) mount.Interface {
    	return kvh.kubelet.mounter
    }
    
    func (kvh *kubeletVolumeHost) GetHostName() string {
    	return kvh.kubelet.hostname
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top