Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for fnv1 (0.04 sec)

  1. src/reflect/type.go

    	for _, in := range in {
    		t := in.(*rtype)
    		args = append(args, t)
    		hash = fnv1(hash, byte(t.t.Hash>>24), byte(t.t.Hash>>16), byte(t.t.Hash>>8), byte(t.t.Hash))
    	}
    	if variadic {
    		hash = fnv1(hash, 'v')
    	}
    	hash = fnv1(hash, '.')
    	for _, out := range out {
    		t := out.(*rtype)
    		args = append(args, t)
    		hash = fnv1(hash, byte(t.t.Hash>>24), byte(t.t.Hash>>16), byte(t.t.Hash>>8), byte(t.t.Hash))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. src/hash/fnv/fnv.go

    	ret := byteorder.BeAppendUint64(in, s[0])
    	return byteorder.BeAppendUint64(ret, s[1])
    }
    
    const (
    	magic32          = "fnv\x01"
    	magic32a         = "fnv\x02"
    	magic64          = "fnv\x03"
    	magic64a         = "fnv\x04"
    	magic128         = "fnv\x05"
    	magic128a        = "fnv\x06"
    	marshaledSize32  = len(magic32) + 4
    	marshaledSize64  = len(magic64) + 8
    	marshaledSize128 = len(magic128) + 8*2
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ArgumentPassingCrossVersionTest.groovy

        }
    
        def "Appends additional JVM arguments multiple times"() {
            when:
            BuildEnvironment env1 = loadBuildEnvironment { builder -> builder.addJvmArguments(JVM_ARG_1).addJvmArguments(JVM_ARG_2) }
    
            then:
            env1.java.jvmArguments.contains(JVM_ARG_1)
            env1.java.jvmArguments.contains(JVM_ARG_2)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    				resource1: newContainerAllocateResponse(
    					withDevices(map[string]string{"/dev/r1": "/dev/r1"}),
    					withMounts(map[string]string{"/home/lib1": "/home/lib1"}),
    					withEnvs(map[string]string{"ENV1": "VALUE1"}),
    					withCDIDevices("vendor1.com/class1=device1", "vendor2.com/class2=device2"),
    				),
    			},
    			expected: &DeviceRunContainerOptions{
    				Devices: []kubecontainer.DeviceInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/internal/bisect/bisect.go

    func (e *parseError) Error() string { return e.text }
    
    // FNV-1a implementation. See Go's hash/fnv/fnv.go.
    // Copied here for simplicity (can handle integers more directly)
    // and to avoid importing hash/fnv.
    
    const (
    	offset64 uint64 = 14695981039346656037
    	prime64  uint64 = 1099511628211
    )
    
    func fnv(h uint64, x byte) uint64 {
    	h ^= uint64(x)
    	h *= prime64
    	return h
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. pilot/pkg/model/extensions_test.go

    			vm: &extensions.VmConfig{
    				Env: []*extensions.EnvVar{
    					{
    						Name:      "POD_NAME",
    						ValueFrom: extensions.EnvValueSource_HOST,
    					},
    					{
    						Name:  "ENV1",
    						Value: "VAL1",
    					},
    				},
    			},
    			policy: extensions.PullPolicy_UNSPECIFIED_POLICY,
    			expected: &wasmextensions.PluginConfig_VmConfig{
    				VmConfig: &wasmextensions.VmConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

        op_name: The tensorflow op name. eg. "tf.AddV2"
    
        Example:
          %out_ch = tfrt_fallback_async.createop(%in_ch) key(0) device("/CPU:0")
            "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1)
      }];
    
      let arguments = (ins
        TFRT_ChainType:$in_ch,
        I64Attr:$num_args,
        StrAttr:$device,
        ArrayAttr:$op_attrs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. pkg/kubelet/container/helpers.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package container
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"hash/fnv"
    	"strings"
    
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/client-go/tools/record"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. pkg/controller/tainteviction/taint_eviction.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package tainteviction
    
    import (
    	"context"
    	"fmt"
    	"hash/fnv"
    	"io"
    	"math"
    	"sync"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        v1Creator.setString(0, "AAaa")
        v1Creator.setString(1, "BBbb")
        v1Creator.commit()
    
        cache["k1"]!!.use { snapshot1 ->
          val inV1 = snapshot1.getSource(0).buffer()
          assertThat(inV1.readByte()).isEqualTo('A'.code.toByte())
          assertThat(inV1.readByte()).isEqualTo('A'.code.toByte())
    
          val v1Updater = cache.edit("k1")!!
          v1Updater.setString(0, "CCcc")
          v1Updater.setString(1, "DDdd")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top