- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 551 for Implementation (0.28 sec)
-
src/crypto/sha256/fallback_test.go
package sha256 import ( "fmt" "io" "testing" ) // Tests the fallback code path in case the optimized asm // implementation cannot be used. // See also TestBlockGeneric. func TestGenericPath(t *testing.T) { if useAsm == false { t.Skipf("assembly implementation unavailable") } useAsm = false defer func() { useAsm = true }() c := New() in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 894 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go
// completes. // // The first two differences can easily be handled by straightforward // adaptation of the concept called "R(t)" in the original paper and // "virtual time" in the implementation outline. In that // implementation outline, the notation now() is used to mean reading // the virtual clock. In the original paper’s terms, "R(t)" is the // number of "rounds" that have been completed at real time t ---
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 08 12:33:30 UTC 2024 - 6.1K bytes - Viewed (0) -
src/sync/once.go
// without calling f. func (o *Once) Do(f func()) { // Note: Here is an incorrect implementation of Do: // // if o.done.CompareAndSwap(0, 1) { // f() // } // // Do guarantees that when it returns, f has finished. // This implementation would not implement that guarantee: // given two simultaneous calls, the winner of the cas would
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 2.5K bytes - Viewed (0) -
src/crypto/aes/cipher_generic.go
// directly. Platforms with hardware accelerated // implementations of AES should implement their // own version of newCipher (which may then call // newCipherGeneric if needed). func newCipher(key []byte) (cipher.Block, error) { return newCipherGeneric(key) } // expandKey is used by BenchmarkExpand and should // call an assembly implementation if one is available. func expandKey(key []byte, enc, dec []uint32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 772 bytes - Viewed (0) -
pkg/config/resource/origin.go
// See the License for the specific language governing permissions and // limitations under the License. package resource import "istio.io/istio/pkg/cluster" // Origin of a resource. This is source-implementation dependent. type Origin interface { FriendlyName() string Namespace() Namespace Reference() Reference // FieldMap returns the flat map containing paths of the fields in the resource as keys,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 1.2K bytes - Viewed (0) -
src/internal/trace/gc_test.go
t.Skip("skipping in -short mode") } check := func(t *testing.T, mu [][]trace.MutatorUtil) { mmuCurve := trace.NewMMUCurve(mu) // Test the optimized implementation against the "obviously // correct" implementation. for window := time.Nanosecond; window < 10*time.Second; window *= 10 { want := mmuSlow(mu[0], window) got := mmuCurve.MMU(window) if !aeq(want, got) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.3K bytes - Viewed (0) -
pilot/pkg/util/protoconv/protoconv.go
if features.EnableVtprotobuf { if vt, ok := msg.(vtStrictMarshal); ok { // Attempt to use more efficient implementation // "Strict" is the equivalent to Deterministic=true below return vt.MarshalVTStrict() } } // If not available, fallback to normal implementation return proto.MarshalOptions{Deterministic: true}.Marshal(msg) } // MessageToAny converts from proto message to proto Any
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 04:55:40 UTC 2024 - 2.7K bytes - Viewed (0) -
src/io/fs/sub.go
// // If dir is ".", Sub returns fsys unchanged. // Otherwise, if fs implements [SubFS], Sub returns fsys.Sub(dir). // Otherwise, Sub returns a new [FS] implementation sub that, // in effect, implements sub.Open(name) as fsys.Open(path.Join(dir, name)). // The implementation also translates calls to ReadDir, ReadFile, and Glob appropriately. // // Note that Sub(os.DirFS("/"), "prefix") is equivalent to os.DirFS("/prefix")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 10 02:10:17 UTC 2024 - 3.6K bytes - Viewed (0) -
src/runtime/pprof/label.go
if labels == nil { return labelMap(nil) } return *labels } // labelMap is the representation of the label set held in the context type. // This is an initial implementation, but it will be replaced with something // that admits incremental immutable modification more efficiently. type labelMap map[string]string // String satisfies Stringer and returns key, value pairs in a consistent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
pkg/proxy/util/localdetector.go
import ( netutils "k8s.io/utils/net" ) // LocalTrafficDetector generates iptables or nftables rules to detect traffic from local pods. type LocalTrafficDetector interface { // IsImplemented returns true if the implementation does something, false // otherwise. You should not call the other methods if IsImplemented() returns // false. IsImplemented() bool // IfLocal returns iptables arguments that will match traffic from a local pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 15:34:37 UTC 2024 - 3.6K bytes - Viewed (0)