Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for sub32 (0.07 sec)

  1. pilot/pkg/serviceregistry/serviceentry/controller.go

    	// so that we can deterministically allocate an IP.
    	// We use "Double Hashning" for collision detection.
    	// The hash algorithm is
    	// - h1(k) = Sum32 hash of the service key (namespace + "/" + hostname)
    	// - Check if we have an empty slot for h1(x) % MAXIPS. Use it if available.
    	// - If there is a collision, apply second hash i.e. h2(x) = PRIME - (Key % PRIME)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. pkg/kubelet/container/helpers.go

    func HashContainer(container *v1.Container) uint64 {
    	hash := fnv.New32a()
    	containerJSON, _ := json.Marshal(pickFieldsToHash(container))
    	hashutil.DeepHashObject(hash, containerJSON)
    	return uint64(hash.Sum32())
    }
    
    // pickFieldsToHash pick fields that will affect the running status of the container for hash,
    // currently this field range only contains `image` and `name`.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public void testGetSubtype_recursiveTypeBoundInSubtypeTranslatedAsIs() {
        class BaseWithTypeVar<T> {}
        class Outer<O> {
          class Sub<X> extends BaseWithTypeVar<List<X>> {}
    
          class Sub2<Y extends Sub2<Y>> extends BaseWithTypeVar<List<Y>> {}
        }
        ParameterizedType subtype =
            (ParameterizedType)
                new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub.class).getType();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public void testGetSubtype_recursiveTypeBoundInSubtypeTranslatedAsIs() {
        class BaseWithTypeVar<T> {}
        class Outer<O> {
          class Sub<X> extends BaseWithTypeVar<List<X>> {}
    
          class Sub2<Y extends Sub2<Y>> extends BaseWithTypeVar<List<Y>> {}
        }
        ParameterizedType subtype =
            (ParameterizedType)
                new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub.class).getType();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. pkg/controller/tainteviction/taint_eviction.go

    type podUpdateItem struct {
    	podName      string
    	podNamespace string
    	nodeName     string
    }
    
    func hash(val string, max int) int {
    	hasher := fnv.New32a()
    	io.WriteString(hasher, val)
    	return int(hasher.Sum32() % uint32(max))
    }
    
    // GetPodsByNodeNameFunc returns the list of pods assigned to the specified node.
    type GetPodsByNodeNameFunc func(nodeName string) ([]*v1.Pod, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/image/png/writer.go

    	e.header[4] = name[0]
    	e.header[5] = name[1]
    	e.header[6] = name[2]
    	e.header[7] = name[3]
    	crc := crc32.NewIEEE()
    	crc.Write(e.header[4:8])
    	crc.Write(b)
    	binary.BigEndian.PutUint32(e.footer[:4], crc.Sum32())
    
    	_, e.err = e.w.Write(e.header[:8])
    	if e.err != nil {
    		return
    	}
    	_, e.err = e.w.Write(b)
    	if e.err != nil {
    		return
    	}
    	_, e.err = e.w.Write(e.footer[:4])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ReverseBytes64", Func, 9},
    		{"RotateLeft", Func, 9},
    		{"RotateLeft16", Func, 9},
    		{"RotateLeft32", Func, 9},
    		{"RotateLeft64", Func, 9},
    		{"RotateLeft8", Func, 9},
    		{"Sub", Func, 12},
    		{"Sub32", Func, 12},
    		{"Sub64", Func, 12},
    		{"TrailingZeros", Func, 9},
    		{"TrailingZeros16", Func, 9},
    		{"TrailingZeros32", Func, 9},
    		{"TrailingZeros64", Func, 9},
    		{"TrailingZeros8", Func, 9},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    				}
    			})
    		}
    	}
    }
    
    func shardMatch(name string) bool {
    	if *shards <= 1 {
    		return true
    	}
    	h := fnv.New32()
    	io.WriteString(h, name)
    	return int(h.Sum32()%uint32(*shards)) == *shard
    }
    
    func goFiles(t *testing.T, dir string) []string {
    	f, err := os.Open(filepath.Join(testenv.GOROOT(t), "test", dir))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // and will not run on earlier targets.
    //
    (Add(Ptr|64|32|16|8) ...) => (ADD ...)
    (Add64F ...) => (FADD ...)
    (Add32F ...) => (FADDS ...)
    
    (Sub(Ptr|64|32|16|8) ...) => (SUB ...)
    (Sub32F ...) => (FSUBS ...)
    (Sub64F ...) => (FSUB ...)
    
    (Min(32|64)F x y) && buildcfg.GOPPC64 >= 9 => (XSMINJDP x y)
    (Max(32|64)F x y) && buildcfg.GOPPC64 >= 9 => (XSMAXJDP x y)
    
    // Combine 64 bit integer multiply and adds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/opGen.go

    		name:    "Sub16",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Sub32",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Sub64",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "SubPtr",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Sub32F",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Sub64F",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top