Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 269 for hamster (0.19 sec)

  1. src/strconv/ftoaryu.go

    	ryuDigits(d, dl, dc, du, c0, cup)
    	d.dp -= q
    }
    
    // mulByLog2Log10 returns math.Floor(x * log(2)/log(10)) for an integer x in
    // the range -1600 <= x && x <= +1600.
    //
    // The range restriction lets us work in faster integer arithmetic instead of
    // slower floating point arithmetic. Correctness is verified by unit tests.
    func mulByLog2Log10(x int) int {
    	// log(2)/log(10) ≈ 0.30102999566 ≈ 78913 / 2^18
    	return (x * 78913) >> 18
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  2. src/internal/chacha8rand/chacha8_generic.go

    }
    
    // block_generic is the non-assembly block implementation,
    // for use on systems without special assembly.
    // Even on such systems, it is quite fast: on GOOS=386,
    // ChaCha8 using this code generates random values faster than PCG-DXSM.
    func block_generic(seed *[4]uint64, buf *[32]uint64, counter uint32) {
    	b := (*[16][4]uint32)(unsafe.Pointer(buf))
    
    	setup(seed, b, counter)
    
    	for i := range b[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)
  3. staging/src/k8s.io/api/core/v1/annotation_key_constants.go

    	// already set).
    	//
    	// This annotation will be used to compute the in-cluster network programming latency SLI, see
    	// https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md
    	EndpointsLastChangeTriggerTime = "endpoints.kubernetes.io/last-change-trigger-time"
    
    	// EndpointsOverCapacity will be set on an Endpoints resource when it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. pkg/config/validation/header_value_validator.go

    	ExpectVariableEndParserState                            // expect closing % in %VAR(...)%
    )
    
    // validateHeaderValue is golang port version of
    // https://github.com/envoyproxy/envoy/blob/master/source/common/router/header_parser.cc#L73
    func validateHeaderValue(headerValue string) error {
    	if headerValue == "" {
    		return nil
    	}
    
    	var (
    		pos   = 0
    		state = LiteralParserState
    	)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 15 21:37:52 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. internal/config/identity/openid/help.go

    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         KeyCloakRealm,
    			Description: `Specify Keycloak 'realm' name, only honored if vendor was set to 'keycloak' as value, if no realm is specified 'master' is default` + defaultHelpPostfix(KeyCloakRealm),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         KeyCloakAdminURL,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/amd64/obj.go

    // Inferno utils/6l/obj.c
    // https://bitbucket.org/inferno-os/inferno-os/src/master/utils/6l/obj.c
    //
    //	Copyright © 1994-1999 Lucent Technologies Inc.  All rights reserved.
    //	Portions Copyright © 1995-1997 C H Forsyth (******@****.***)
    //	Portions Copyright © 1997-1999 Vita Nuova Limited
    //	Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com)
    //	Portions Copyright © 2004,2006 Bruce Ellis
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/arm64/obj.go

    // Inferno utils/5l/obj.c
    // https://bitbucket.org/inferno-os/inferno-os/src/master/utils/5l/obj.c
    //
    //	Copyright © 1994-1999 Lucent Technologies Inc.  All rights reserved.
    //	Portions Copyright © 1995-1997 C H Forsyth (******@****.***)
    //	Portions Copyright © 1997-1999 Vita Nuova Limited
    //	Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com)
    //	Portions Copyright © 2004,2006 Bruce Ellis
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. pkg/util/smallset/smallset.go

    //
    // *Set construction*: sets is roughly 1kb allocations per 250 items. smallsets is 0.
    // *Contains* sets is O(1). smallsets is O(logn). smallsets is typically faster up to about 5 elements.
    //
    //	At 1000 items, it is roughly 5x slower (30ns vs 5ns).
    type Set[T constraints.Ordered] struct {
    	items []T
    }
    
    // NewPresorted creates a new Set with the given items.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. docs/debugging/hash-set/main.go

    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    	k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16])
    	sum64 := siphash.Hash(k0, k1, []byte(key))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/numberlines.go

    		}
    		endlines[b.ID] = firstPos
    	}
    	if f.pass.stats&1 != 0 {
    		// Report summary statistics on the shape of the sparse map about to be constructed
    		// TODO use this information to make sparse maps faster.
    		var entries fileAndPairs
    		for k, v := range ranges {
    			entries = append(entries, fileAndPair{int32(k), v})
    		}
    		sort.Sort(entries)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top