Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,295 for nDests (0.1 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    #ifndef GTEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_
    #define GTEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_
    
    // This header implements typed tests and type-parameterized tests.
    
    // Typed (aka type-driven) tests repeat the same test for types in a
    // list.  You must know which types you want to test with when writing
    // typed tests. Here's how you do it:
    
    #if 0
    
    // First, define a fixture class template.  It should be parameterized
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/device_attribute_to_launch.mlir

    }
    
    // Tests that single TensorFlow op with no device attribute is not wrapped in `tf_device.launch`.
    // CHECK-LABEL: func @no_device_attribute
    func.func @no_device_attribute() {
      // CHECK-NOT: "tf_device.launch"
      // CHECK: "tf.opA"
      "tf.opA"() : () -> tensor<i1>
      func.return
    }
    
    // Tests that single TensorFlow op with empty device attribute is not wrapped in `tf_device.launch`.
    // CHECK-LABEL: func @empty_device_attribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. pkg/util/net/ip_test.go

    			},
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := IsValidIPAddress(tt.args.ip); got != tt.want {
    				t.Errorf("IsValidIPAddress() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestIsIPv6Address(t *testing.T) {
    	type args struct {
    		ip string
    	}
    	tests := []struct {
    		name string
    		args args
    		want bool
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/string_test.go

    	return _Accuracy_name[_Accuracy_index[i]:_Accuracy_index[i+1]]
    }
    
    func testSmallIndexType(t *testing.T) {
    	tests := []struct {
    		i    int
    		want string
    	}{
    		{0, "Below"},
    		{1, "Exact"},
    		{2, "Above"},
    	}
    
    	for i, test := range tests {
    		if got := testSmallIndexType_ssa(test.i); got != test.want {
    			t.Errorf("#%d got %s wanted %s", i, got, test.want)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

        public FarthestConflictResolverTest() throws Exception {
            super("farthest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>NewestConflictResolver</code>.
     *
     * @see NewestConflictResolver
     */
    @Deprecated
    class NewestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public NewestConflictResolverTest() throws Exception {
            super("newest");
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. tests/callbacks_test.go

    		}
    
    		if len(data.err) > 0 && err == nil {
    			t.Errorf("callbacks tests #%v should got error %v, but not", idx+1, data.err)
    		} else if len(data.err) == 0 && err != nil {
    			t.Errorf("callbacks tests #%v should not got error, but got %v", idx+1, err)
    		}
    
    		if ok, msg := assertCallbacks(callbacks.Create(), data.results); !ok {
    			t.Errorf("callbacks tests #%v failed, got %v", idx+1, msg)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/NativeToolChainTestInterceptor.java

        //
        // Our multi-test runner is smart enough to disable tests that do not meet the test's requirements, but since many
        // of the old tests do not have requirements, we assume the tests require a "C" like tool chain (GCC, Clang, MSVC).
        //
        // In the future... we want to go back to old tests and annotate them with tool chains requirements.
        private boolean canUseToolChain(AvailableToolChains.ToolChainCandidate toolChain) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{0, ""},
    		tests: []testFnc{
    			testRemaining{0, 0},
    			testWrite{"", 0, nil},
    			testWrite{"a", 0, ErrWriteTooLong},
    			testReadFrom{fileOps{""}, 0, nil},
    			testReadFrom{fileOps{"a"}, 0, ErrWriteTooLong},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{1, "a"},
    		tests: []testFnc{
    			testRemaining{1, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  10. pkg/securitycontext/util_test.go

    			},
    			expect: false,
    		},
    	}
    
    	for k, v := range tests {
    		actual := AddNoNewPrivileges(v.sc)
    		if actual != v.expect {
    			t.Errorf("%s failed, expected %t but received %t", k, v.expect, actual)
    		}
    	}
    }
    
    func TestConvertToRuntimeMaskedPaths(t *testing.T) {
    	dPM := v1.DefaultProcMount
    	uPM := v1.UnmaskedProcMount
    	tests := map[string]struct {
    		pm     *v1.ProcMountType
    		expect []string
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 05 01:25:23 UTC 2020
    - 5K bytes
    - Viewed (0)
Back to top