Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for fnv1 (0.04 sec)

  1. 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)
  2. pkg/registry/rbac/validation/rule_test.go

    */
    
    package validation
    
    import (
    	"hash/fnv"
    	"io"
    	"reflect"
    	"sort"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	rbacv1 "k8s.io/api/rbac/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apiserver/pkg/authentication/user"
    )
    
    // compute a hash of a policy rule so we can sort in a deterministic order
    func hashOf(p rbacv1.PolicyRule) string {
    	hash := fnv.New32()
    	writeStrings := func(slis ...[]string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. operator/pkg/tpath/tree_test.go

        name: n2
    `,
    		},
    		{
    			desc: "ModifyListEntryMapValue",
    			path: `a.b.[name:n2]`,
    			value: `name: n2
    list: 
      - nk1: nv1
      - nk2: nv2`,
    			wantFound: true,
    			want: `
    a:
      b:
      - name: n1
        value: v1
      - name: n2
        list:
        - nk1: nv1
        - nk2: nv2
    `,
    		},
    		{
    			desc:      "ModifyNthListEntry",
    			path:      `a.b.[1].list.[:v2]`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  8. src/internal/reflectlite/all_test.go

    	y float32
    }
    
    type NotBasic Basic
    
    type DeepEqualTest struct {
    	a, b any
    	eq   bool
    }
    
    // Simple functions for DeepEqual tests.
    var (
    	fn1 func()             // nil.
    	fn2 func()             // nil.
    	fn3 = func() { fn1() } // Not nil.
    )
    
    type self struct{}
    
    type Loop *Loop
    type Loopy any
    
    var loop1, loop2 Loop
    var loopy1, loopy2 Loopy
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.td

        op_name: The tensorflow op name. eg. "tf.AddV2"
    
        Example:
          tfrt_fallback_sync.createop() key(0) device("/CPU:0")
            "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1)
      }];
    
      let arguments = (ins
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let results = (outs);
    
      let assemblyFormat = "attr-dict";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 07 21:12:01 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/compare.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package walk
    
    import (
    	"encoding/binary"
    	"fmt"
    	"go/constant"
    	"hash/fnv"
    	"io"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/compare"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/reflectdata"
    	"cmd/compile/internal/ssagen"
    	"cmd/compile/internal/typecheck"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top