Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 5,486 for expectHead (0.14 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

       * @param expectRead the number of bytes we expect to read
       */
      private static void assertCorrectSlice(int input, int offset, long length, int expectRead)
          throws IOException {
        checkArgument(expectRead == (int) Math.max(0, Math.min(input, offset + length) - offset));
    
        byte[] expected = newPreFilledByteArray(offset, expectRead);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go

    					if got, expected := tbl.ColumnDefinitions[6], zeta; got != expected {
    						t.Errorf("expected column definition %#v, got %#v", expected, got)
    					}
    				}
    			}
    			if got, expected := len(tbl.Rows), 1; got != expected {
    				t.Errorf("expected %d rows, got %d", expected, got)
    			} else if got, expected := len(tbl.Rows[0].Cells), expectColumnNum; got != expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 18.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/quota/v1/resources_test.go

    		if result := Equals(testCase.expected, sub); !result {
    			t.Errorf("%s expected: %v, actual: %v", testName, testCase.expected, sub)
    		}
    	}
    }
    
    func TestResourceNames(t *testing.T) {
    	testCases := map[string]struct {
    		a        corev1.ResourceList
    		expected []corev1.ResourceName
    	}{
    		"empty": {
    			a:        corev1.ResourceList{},
    			expected: []corev1.ResourceName{},
    		},
    		"values": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 12 01:57:38 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUnit.h

      { CU_assertImplementation(((actual) == (expected)), __LINE__, ("CU_ASSERT_EQUAL_FATAL(" #actual "," #expected ")"), __FILE__, "", CU_TRUE); }
    
    /** Asserts that actual != expected.
     *  Reports failure with no other action.
     */
    #define CU_ASSERT_NOT_EQUAL(actual, expected) \
      { CU_assertImplementation(((actual) != (expected)), __LINE__, ("CU_ASSERT_NOT_EQUAL(" #actual "," #expected ")"), __FILE__, "", CU_FALSE); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

          // expected-remark@above {{ID: 8}}
          // expected-remark@above {{Predecessors: {5,6}}}
          // expected-remark@above {{Successors: {9}}}
          tf_executor.yield
          // expected-remark@above {{ID: 9}}
          // expected-remark@above {{Predecessors: {7,8}}}
        }
        tf_executor.fetch %island : !tf_executor.control
        // expected-remark@above {{ID: 11}}
        // expected-remark@above {{Predecessors: {10}}}
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/resolve/scenarios/VersionRangeResolveTestScenarios.groovy

            versions: [EMPTY, FIXED_12],
            expected: "12"
        ).and(
            versions: [EMPTY, PREFER_12],
            expected: "12"
        ).and(
            versions: [EMPTY, RANGE_10_12],
            expected: "12"
        ).and(
            versions: [EMPTY, EMPTY],
            expected: ""
        ).and(
            versions: [EMPTY, EMPTY, FIXED_12],
            expected: "12"
        )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  7. src/encoding/json/testdata/code.json.gz

    72051317},{"name":"bug4803-expected.png","kids":[],"cl_weight":0.022222222222222223,"touches":1,"min_t":1272051317,"max_t":1272051317,"mean_t":1272051317},{"name":"bug4427-expected.png","kids":[],"cl_weight":0.022222222222222223,"touches":1,"min_t":1272051317,"max_t":1272051317,"mean_t":1272051317},{"name":"bug16012-expected.png","kids":[],"cl_weight":0.022222222222222223,"touches":1,"min_t":1272051317,"max_t":1272051317,"mean_t":1272051317},{"name":"bug14323-expected.png","kids":[],"cl_weight":...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 25 04:02:36 UTC 2016
    - 117.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir

      // expected-remark@below {{Result #0, ID 8 : Unknown}}
      // expected-remark@below {{Result #1, ID 9 : 1, 8, 9, 10, 12, 13}}
      // expected-remark@below {{Result #2, ID 10 : 1, 8, 9, 10, 12, 13}}
      // expected-remark@below {{Region #0, Arg #0, ID 2 : 1, 2, 8}}
      // expected-remark@below {{Region #0, Arg #1, ID 3 : 1, 3, 8}}
      // expected-remark@below {{Region #0, Arg #2, ID 4 : 1, 4, 8}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 17:19:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  9. pkg/bootstrap/option/instances_test.go

    			expected: "fake",
    		},
    		{
    			testName: "zone",
    			key:      "zone",
    			option:   option.Zone("fake"),
    			expected: "fake",
    		},
    		{
    			testName: "sub zone",
    			key:      "sub_zone",
    			option:   option.SubZone("fake"),
    			expected: "fake",
    		},
    		{
    			testName: "node metadata nil",
    			key:      "meta_json_str",
    			option:   option.NodeMetadata(nil, nil),
    			expected: nil,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. pkg/test/framework/label/labels_test.go

    		{filter: "postsubmit", labels: NewSet(CustomSetup), expected: false},
    		{filter: "postsubmit", labels: NewSet(CustomSetup, Postsubmit), expected: true},
    		{filter: "postsubmit,customsetup", labels: NewSet(Postsubmit, CustomSetup), expected: true},
    		{filter: "postsubmit,customsetup", labels: NewSet(Postsubmit), expected: false},
    		{filter: "+postsubmit,+customsetup", labels: NewSet(Postsubmit), expected: false},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 18 17:08:05 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top