Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 310 for valuei (0.12 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/reorder_assert.mlir

      %value1 = "tf.LookupTableFindV2"(%handle, %key1, %default) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<!tf_type.resource>, tensor<!tf_type.string>, tensor<i64>) -> tensor<i64>
      func.return %value0, %value1 : tensor<i64>, tensor<i64>
    }
    
    func.func private @else_branch(%arg0: tensor<i1>) -> tensor<i1> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:51:48 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. test/typeparam/issue50419.go

    )
    
    func main() {
    	foo := &Foo[string, int]{
    		valueA: "i am a string",
    		valueB: 123,
    	}
    	if got, want := fmt.Sprintln(foo), "i am a string 123\n"; got != want {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    }
    
    type Foo[T1 any, T2 any] struct {
    	valueA T1
    	valueB T2
    }
    
    func (f *Foo[_, _]) String() string {
    	return fmt.Sprintf("%v %v", f.valueA, f.valueB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 689 bytes
    - Viewed (0)
  3. cmd/kubeadm/app/componentconfigs/checksums_test.go

    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "le-config",
    				Namespace: "le-namespace",
    				Labels: map[string]string{
    					"label1": "value1",
    					"label2": "value2",
    				},
    				Annotations: map[string]string{
    					"annotation1": "value1",
    					"annotation2": "value2",
    				},
    			},
    			Data: map[string]string{
    				"foo": "bar",
    			},
    			BinaryData: map[string][]byte{
    				"bar": []byte("baz"),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          Key key1 = new Key(1);
          String value1 = key1.toString();
          Key key2 = new Key(2);
          String value2 = key2.toString();
          assertSame(value1, cache.getUnchecked(key1));
          assertSame(value2, cache.getUnchecked(key2));
          assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
          assertThat(cache.asMap().values()).containsExactly(value1, value2);
          assertEquals(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.1K bytes
    - Viewed (0)
  5. pkg/volume/downwardapi/downwardapi_test.go

    		t.Skip("Skipping test that fails on Windows")
    	}
    
    	labels1 := map[string]string{
    		"key1": "value1",
    		"key2": "value2",
    	}
    	labels2 := map[string]string{
    		"key1": "value1",
    		"key2": "value2",
    		"key3": "value3",
    	}
    	annotations := map[string]string{
    		"a1":        "value1",
    		"a2":        "value2",
    		"multiline": "c\nb\na",
    	}
    	testCases := []struct {
    		name           string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2FilteringIntegrationTest.groovy

            then:
            failureCauseContains("No tests found for given includes: [SubClass.$testMethod](--tests filter)")
    
            where:
            testMethod << ["sub unrolled test param=value1", "super unrolled test param=value1", "super super unrolled test param=value1"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    				if s.Value[0] == 0 {
    					return nil, nil, fmt.Errorf("parsing sample %s: second value must be non-zero", line)
    				}
    				s.NumLabel = map[string][]int64{"bytes": {s.Value[1] / s.Value[0]}}
    				s.Value[0], s.Value[1] = scaleHeapSample(s.Value[0], s.Value[1], javaHeapzSamplingRate)
    			case "contention":
    				if period := p.Period; period != 0 {
    					s.Value[0] = s.Value[0] * p.Period
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/attributes_test.go

    	// test AddAnnotation
    	attr.AddAnnotation("foo.admission.k8s.io/key1", "value1")
    	attr.AddAnnotation("foo.admission.k8s.io/key2", "value2")
    	annotations := attr.getAnnotations(auditinternal.LevelMetadata)
    	assert.Equal(t, annotations["foo.admission.k8s.io/key1"], "value1")
    
    	// test overwrite
    	assert.Error(t, attr.AddAnnotation("foo.admission.k8s.io/key1", "value1-overwrite"),
    		"admission annotations should not be allowd to be overwritten")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 19:44:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

            """
    import java.io.Serializable;
    
    public class CustomType implements Serializable {
        public String value;
    
        public CustomType(String value) { this.value = value; }
    
        public boolean equals(Object o) {
            CustomType other = (CustomType)o;
            return other.value.startsWith(value) || value.startsWith(other.value);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  10. src/runtime/pprof/runtime_test.go

    		t.Errorf("Expected parent goroutine's profile labels to be empty before Do, got %v", gotLabels)
    	}
    
    	Do(context.Background(), Labels("key1", "value1", "key2", "value2"), func(ctx context.Context) {
    		wantLabels := map[string]string{"key1": "value1", "key2": "value2"}
    		if gotLabels := getProfLabel(); !reflect.DeepEqual(gotLabels, wantLabels) {
    			t.Errorf("parent goroutine's profile labels: got %v, want %v", gotLabels, wantLabels)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:29:37 UTC 2017
    - 3K bytes
    - Viewed (0)
Back to top