Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,132 for Expected (0.07 sec)

  1. guava-tests/test/com/google/common/base/FunctionsTest.java

          // convoluted way to check that the same result happens from each
          Y expected = null;
          try {
            expected = f.apply(i);
          } catch (IllegalArgumentException e) {
            try {
              g.apply(i);
              fail();
            } catch (IllegalArgumentException ok) {
              continue;
            }
          }
          assertEquals(expected, g.apply(i));
        }
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      /**
       * Constructs an empty {@code LinkedHashMultimap} with enough capacity to hold the specified
       * numbers of keys and values without rehashing.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  3. code_of_conduct.md

    * Other conduct which could reasonably be considered inappropriate in a
      professional setting
    
    ## Our Responsibilities
    
    Project maintainers are responsible for clarifying the standards of acceptable
    behavior and are expected to take appropriate and fair corrective action in
    response to any instances of unacceptable behavior, in compliance with the
    licensing terms applying to the Project developments.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 18:38:58 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Act
            int opnum = queryPolicy.getOpnum();
    
            // Assert
            assertEquals(0x07, opnum); // Expected opnum for LsarQueryInformationPolicy
        }
    
        @Test
        void multipleInstances_shouldBeIndependent() {
            // Arrange
            short level1 = 1;
            short level2 = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/cmd/addr2line/addr2line_test.go

    }
    
    const symName = "cmd/addr2line.TestAddr2Line"
    
    func testAddr2Line(t *testing.T, dbgExePath, addr string) {
    	funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr)
    	if symName != funcName {
    		t.Fatalf("expected function name %v; got %v", symName, funcName)
    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    	return "size of the object greater than what is allowed(5G)"
    }
    
    // ObjectTooSmall error returned when the size of the object < what is expected.
    type ObjectTooSmall GenericError
    
    func (e ObjectTooSmall) Error() string {
    	return "size of the object less than what is expected"
    }
    
    // OperationTimedOut - a timeout occurred.
    type OperationTimedOut struct{}
    
    func (e OperationTimedOut) Error() string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertTrue(bulkLine.contains("test text"));
            assertTrue(bulkLine.contains("reading1"));
            assertTrue(bulkLine.contains("reading2"));
        }
    
        @Test(expected = SuggesterException.class)
        public void testCreateBulkLineWithNullItem() {
            // Test that null item causes exception
            SuggestUtil.createBulkLine("test_index", "_doc", null);
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. tests/query_test.go

    	if res.Nickname != user.Name {
    		t.Errorf("Expected res.Nickname to be %s, but got %s", user.Name, res.Nickname)
    	}
    	if res.Name != "" {
    		t.Errorf("Expected res.Name to be empty, but got %s", res.Name)
    	}
    	if res.Age != user.Age {
    		t.Errorf("Expected res.Age to be %d, but got %d", user.Age, res.Age)
    	}
    }
    
    func TestPluckWithSelect(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

        if (Build.VERSION.SDK_INT == 0) {
          return Jdk9Platform.buildIfSupported()
            ?: Platform()
        }
    
        throw IllegalStateException("Expected Android API level 21+ but was ${Build.VERSION.SDK_INT}")
      }
    
      actual val isAndroid: Boolean
        get() = true
    
      var applicationContext: Context?
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInformationTest.java

         * Test that interface constants are correctly defined
         */
        @Test
        @DisplayName("Test FileInformation constants are correctly defined")
        void testInterfaceConstants() {
            // Verify all constants have expected values
            assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO);
            assertEquals((byte) 0x4, FileInformation.FILE_BASIC_INFO);
            assertEquals((byte) 0x5, FileInformation.FILE_STANDARD_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top