Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 85 for val6 (0.06 sec)

  1. src/encoding/gob/encoder_test.go

    			}
    			continue
    		}
    		// Get rid of the pointer in the rhs
    		val := reflect.ValueOf(test.out).Elem().Interface()
    		if !reflect.DeepEqual(test.in, val) {
    			t.Errorf("decoding singleton: expected %v got %v", test.in, val)
    		}
    	}
    }
    
    func TestStructNonStruct(t *testing.T) {
    	type Struct struct {
    		A string
    	}
    	type NonStruct string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (MOVHstoreidx  ptr (ADD      idx idx) val mem) => (MOVHstoreidx2 ptr idx val mem)
    (MOVDstoreidx  (SLLconst [3] idx) ptr val mem) => (MOVDstoreidx8 ptr idx val mem)
    (MOVWstoreidx  (SLLconst [2] idx) ptr val mem) => (MOVWstoreidx4 ptr idx val mem)
    (MOVHstoreidx  (SLLconst [1] idx) ptr val mem) => (MOVHstoreidx2 ptr idx val mem)
    (MOVHstoreidx  (ADD      idx idx) ptr val mem) => (MOVHstoreidx2 ptr idx val mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/manager_test.go

    	testManager.markResourceUnhealthy(resourceName2)
    	capacity, allocatable, removed = testManager.GetCapacity()
    	val, ok = capacity[v1.ResourceName(resourceName2)]
    	as.True(ok)
    	as.Equal(int64(3), val.Value())
    	val, ok = allocatable[v1.ResourceName(resourceName2)]
    	as.True(ok)
    	as.Equal(int64(0), val.Value())
    	as.Empty(removed)
    	// Writes and re-reads checkpoints. Verifies we create a stopped endpoint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  4. src/net/http/cookiejar/jar_test.go

    		}
    		setCookies[i] = cookies[0]
    	}
    	jar.setCookies(mustParseURL(test.fromURL), setCookies, now)
    	now = now.Add(1001 * time.Millisecond)
    
    	// Serialize non-expired entries in the form "name1=val1 name2=val2".
    	var cs []string
    	for _, submap := range jar.entries {
    		for _, cookie := range submap {
    			if !cookie.Expires.After(now) {
    				continue
    			}
    
    			v := cookie.Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. src/mime/mediatype_test.go

    		{` FORM-DATA ; name="foo"`, "form-data", nameFoo},
    
    		{`form-data; key=value;  blah="value";name="foo" `,
    			"form-data",
    			m("key", "value", "blah", "value", "name", "foo")},
    
    		{`foo; key=val1; key=the-key-appears-again-which-is-bogus`,
    			"", m()},
    
    		// From RFC 2231:
    		{`application/x-stuff; title*=us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A`,
    			"application/x-stuff",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:58:37 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          if (!c->Dim(s0, i).SameHandle(c->Dim(s1, i))) {
            int64_t val0 = c->Value(c->Dim(s0, i));
            int64_t val1 = c->Value(c->Dim(s1, i));
            // Negative value is treated as unknown so all negative values indicate
            // the same dimension.
            if (val0 >= 0 && val1 >= 0 && val0 != val1) return false;
          }
        }
        return true;
      };
    
      bool changed = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-helper.sh

      # flag arguments.
      # Old format:
      #   command=["/bin/sh", "-c", "exec KUBE_EXEC_BINARY --param1=val1 --param2-val2"].
      # New format:
      #   command=["KUBE_EXEC_BINARY"]  # No shell dependencies.
      #   args=["--param1=val1", "--param2-val2"]
      IFS=' ' read -ra FLAGS <<< "$1"
      params=""
      for flag in "${FLAGS[@]}"; do
        params+="\n\"$flag\","
      done
      if [ -n "$params" ]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  8. src/runtime/os_linux.go

    	for ; auxv[i] != _AT_NULL; i += 2 {
    		tag, val := auxv[i], auxv[i+1]
    		switch tag {
    		case _AT_RANDOM:
    			// The kernel provides a pointer to 16-bytes
    			// worth of random data.
    			startupRand = (*[16]byte)(unsafe.Pointer(val))[:]
    
    		case _AT_PAGESZ:
    			physPageSize = val
    
    		case _AT_SECURE:
    			secureMode = val == 1
    		}
    
    		archauxv(tag, val)
    		vdsoauxv(tag, val)
    	}
    	return i / 2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. src/database/sql/fakedb_test.go

    		}
    		var val any
    		if strvalue, ok := s.colValue[n].(string); ok && strings.HasPrefix(strvalue, "?") {
    			if strvalue == "?" {
    				val = args[argPos].Value
    			} else {
    				// Assign value from argument placeholder name.
    				if v := valueFromPlaceholderName(args, strvalue[1:]); v != nil {
    					val = v
    				}
    			}
    			argPos++
    		} else {
    			val = s.colValue[n]
    		}
    		if doInsert {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteARM64.go

    		}
    		idx := v_1.Args[0]
    		val := v_2
    		mem := v_3
    		v.reset(OpARM64FMOVDstoreidx8)
    		v.AddArg4(ptr, idx, val, mem)
    		return true
    	}
    	// match: (FMOVDstoreidx (SLLconst [3] idx) ptr val mem)
    	// result: (FMOVDstoreidx8 ptr idx val mem)
    	for {
    		if v_0.Op != OpARM64SLLconst || auxIntToInt64(v_0.AuxInt) != 3 {
    			break
    		}
    		idx := v_0.Args[0]
    		ptr := v_1
    		val := v_2
    		mem := v_3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
Back to top