Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for hamster (0.1 sec)

  1. src/cmd/vendor/rsc.io/markdown/emoji.go

    	"haiti":                                "\U0001f1ed\U0001f1f9",
    	"hamburger":                            "\U0001f354",
    	"hammer":                               "\U0001f528",
    	"hammer_and_pick":                      "\u2692\ufe0f",
    	"hammer_and_wrench":                    "\U0001f6e0\ufe0f",
    	"hamster":                              "\U0001f439",
    	"hand":                                 "\u270b",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 107.7K bytes
    - Viewed (0)
  2. src/runtime/map_fast64.go

    		racewritepc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapassign_fast64))
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/strings/compare.go

    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    //
    // Use Compare when you need to perform a three-way comparison (with
    // slices.SortFunc, for example). It is usually clearer and always faster
    // to use the built-in string comparison operators ==, <, >, and so on.
    func Compare(a, b string) int {
    	return bytealg.CompareString(a, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 628 bytes
    - Viewed (0)
  4. src/internal/coverage/cfile/apis.go

    	}
    	if cmode != coverage.CtrModeAtomic {
    		return fmt.Errorf("ClearCounters invoked for program built with -covermode=%s (please use -covermode=atomic)", cmode.String())
    	}
    
    	// Implementation note: this function would be faster and simpler
    	// if we could just zero out the entire counter array, but for the
    	// moment we go through and zero out just the slots in the array
    	// corresponding to the counter values. We do this to avoid the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/log/slog/value_test.go

    }
    
    func (r *replace) LogValue() Value { return r.v }
    
    type panickingLogValue struct{}
    
    func (panickingLogValue) LogValue() Value { panic("bad") }
    
    // A Value with "unsafe" strings is significantly faster:
    // safe:  1785 ns/op, 0 allocs
    // unsafe: 690 ns/op, 0 allocs
    
    // Run this with and without -tags unsafe_kvs to compare.
    func BenchmarkUnsafeStrings(b *testing.B) {
    	b.ReportAllocs()
    	dst := make([]Value, 100)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller.go

    		return nil, false, nil
    	}
    
    	return encryptionConfiguration, true, nil
    }
    
    // minKMSPluginCloseGracePeriod can be lowered in unit tests to make the health check poll faster
    var minKMSPluginCloseGracePeriod = 10 * time.Second
    
    func (d *DynamicEncryptionConfigContent) validateNewTransformersHealth(
    	ctx context.Context,
    	kmsPluginHealthzCheck healthz.HealthChecker,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/runtime/mksizeclasses.go

    	//
    	// 	if d is a power of two then
    	// 		Let F ← log₂(d) and c = 1.
    	// 	else
    	// 		Let F ← N + L where L is the smallest integer
    	// 		such that d ≤ (2^(N+L) mod d) + 2^L.
    	// 	end if
    	//
    	// [1] "Faster Remainder by Direct Computation: Applications to
    	// Compilers and Software Libraries" Daniel Lemire, Owen Kaser,
    	// Nathan Kurz arXiv:1902.01961
    	//
    	// To minimize the risk of introducing errors, we implement the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/crypto/elliptic/params.go

    // where x = x1/z1² and y = y1/z1³. The greatest speedups come when the whole
    // calculation can be performed within the transform (as in ScalarMult and
    // ScalarBaseMult). But even for Add and Double, it's faster to apply and
    // reverse the transform than to operate in affine coordinates.
    
    // polynomial returns x³ - 3x + b.
    func (curve *CurveParams) polynomial(x *big.Int) *big.Int {
    	x3 := new(big.Int).Mul(x, x)
    	x3.Mul(x3, x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/internal/concurrent/hashtriemap.go

    func NewHashTrieMap[K, V comparable]() *HashTrieMap[K, V] {
    	var m map[K]V
    	mapType := abi.TypeOf(m).MapType()
    	ht := &HashTrieMap[K, V]{
    		root:     newIndirectNode[K, V](nil),
    		keyHash:  mapType.Hasher,
    		keyEqual: mapType.Key.Equal,
    		valEqual: mapType.Elem.Equal,
    		seed:     uintptr(rand.Uint64()),
    	}
    	return ht
    }
    
    type hashFunc func(unsafe.Pointer, uintptr) uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. src/runtime/map_fast32.go

    		racewritepc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapassign_fast32))
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top