Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,501 for desk (0.25 sec)

  1. tensorflow/c/c_test_util.cc

      TF_OperationDescription* desc = TF_NewOperation(graph, "Less", "less_than");
      TF_AddInput(desc, l);
      TF_AddInput(desc, r);
      return TF_FinishOperation(desc, s);
    }
    
    TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype,
                                TF_Graph* graph, TF_Status* s) {
      TF_OperationDescription* desc =
          TF_NewOperation(graph, "RandomUniform", "random_uniform");
      TF_AddInput(desc, {shape, 0});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  2. pkg/test/loadbalancersim/loadbalancer/priority.go

    import (
    	mesh2 "istio.io/istio/pkg/test/loadbalancersim/mesh"
    )
    
    type PrioritySelector func(src *mesh2.Client, dest *mesh2.Node) uint32
    
    func LocalityPrioritySelector(src *mesh2.Client, dest *mesh2.Node) uint32 {
    	priority := uint32(2)
    	if src.Locality().Region == dest.Locality().Region {
    		priority = 1
    		if src.Locality().Zone == dest.Locality().Zone {
    			priority = 0
    		}
    	}
    	return priority
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 1017 bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileTreeElementTest.groovy

            def dest = temporaryFolder.file("dir/dest")
    
            when:
            new TestFileTreeElement(src, chmod).copyTo(dest)
    
            then:
            dest.assertIsFile()
            dest.getText() == "content"
        }
    
        def copiedFileHasExpectedPermissions() throws Exception {
            given:
            def src = writeToFile("src", "")
            final dest = temporaryFolder.file("dest")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/route_test.go

    )
    
    func TestDescribeRouteDomains(t *testing.T) {
    	tests := []struct {
    		desc     string
    		domains  []string
    		expected string
    	}{
    		{
    			desc:     "test zero domain",
    			domains:  []string{},
    			expected: "",
    		},
    		{
    			desc:     "test only one domain",
    			domains:  []string{"example.com"},
    			expected: "example.com",
    		},
    		{
    			desc:     "test domains with port",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSanitizers.java

            @Override
            public void add(@Nullable Object value, ImmutableCollection.Builder<Object> dest) {
                dest.add(value);
            }
    
            @Override
            public void addAll(Iterable<?> values, ImmutableCollection.Builder<Object> dest) {
                dest.addAll(values);
            }
        };
        private static final ValueCollector<Object> STRING_VALUE_COLLECTOR = new ValueCollector<Object>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. src/go/types/errors.go

    	// Otherwise, call it once, with a single combined message.
    	multiError := false
    	if !isTypes2 {
    		for i := 1; i < len(err.desc); i++ {
    			if err.desc[i].posn.Pos().IsValid() {
    				multiError = true
    				break
    			}
    		}
    	}
    
    	if multiError {
    		for i := range err.desc {
    			p := &err.desc[i]
    			check.handleError(i, p.posn, err.code, p.msg, err.soft)
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/internal/fuzz/encoding_test.go

    		{
    			desc: "negative uint",
    			in: `go test fuzz v1
    uint(-32)`,
    			reject: true,
    		},
    		{
    			desc: "int8 too large",
    			in: `go test fuzz v1
    int8(1234456)`,
    			reject: true,
    		},
    		{
    			desc: "multiplication in int value",
    			in: `go test fuzz v1
    int(20*5)`,
    			reject: true,
    		},
    		{
    			desc: "double negation",
    			in: `go test fuzz v1
    int(--5)`,
    			reject: true,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

                files.exclude('**/*ignore*')
                task copy(type: Copy) {
                    from files
                    into 'dest'
                    includeEmptyDirs = false
                }
            """
    
            when:
            run 'copy'
    
            then:
            file('dest').assertHasDescendants(
                'one.txt',
                'a/one.txt',
                'b/not one to IGNORE.txt'
            )
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopySpecIntegrationSpec.groovy

                    from 'src'
                    into 'dest'
                    filesMatching(['**/ignore/**', '**/sub/**']) {
                        name = "matched\${name}"
                    }
                }
            """.stripIndent()
    
            when:
            succeeds 'copy'
    
            then:
            file('dest/one/ignore/matchedbad.file').exists()
            file('dest/two/ignore/matchedbad.file').exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:45:30 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testIntWriteBytesTo() {
        byte[] dest = new byte[4];
        HashCode.fromInt(42).writeBytesTo(dest, 0, 4);
        assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest));
      }
    
      public void testLongWriteBytesTo() {
        byte[] dest = new byte[8];
        HashCode.fromLong(42).writeBytesTo(dest, 0, 8);
        assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top