Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1921 - 1930 of 3,054 for throws (0.03 sec)

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

      public void testForSupplierSerializable() {
        checkCanReserialize(Functions.forSupplier(new CountingSupplier()));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        new ClassSanityTester().forAllPublicStaticMethods(Functions.class).testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
    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. src/test/java/jcifs/internal/NotifyResponseTest.java

                this.async = false;
                this.nextResponse = null;
            }
    
            // CommonServerMessageBlock interface methods
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Mock implementation
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // Mock implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals(expected, info.toString());
        }
    
        // Test cases for Trans2FindFirst2Response class
        @Test
        void testReadString_Unicode() throws UnsupportedEncodingException {
            response.useUnicode = true;
            String expected = "test";
            byte[] src = expected.getBytes("UTF-16LE");
            String result = response.readString(src, 0, src.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

    import java.util.Map;
    import java.util.function.Function;
    
    public class SsoAuthenticatorTest extends UnitFessTestCase {
    
        private TestSsoAuthenticator authenticator;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            authenticator = new TestSsoAuthenticator();
        }
    
        // Mock LoginCredentialResolver for testing
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (1)
  5. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

                System.out.println("- Error downloading");
                e.printStackTrace();
                System.exit(1);
            }
        }
    
        private static void downloadFileFromURL(String urlString, File destination) throws Exception {
            if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
                String username = System.getenv("MVNW_USERNAME");
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

    public class ImplementedInvokerAssistantTest extends UnitFessTestCase {
    
        private ImplementedInvokerAssistant invokerAssistant;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            invokerAssistant = new ImplementedInvokerAssistant();
        }
    
        // Test constructor
        public void test_constructor() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        if (lmHash.length == 0 && ntHash.length == 0) {
                            throw new RuntimeException("Null setup prohibited.");
                        }
                    } else if (DISABLE_PLAIN_TEXT_PASSWORDS) {
                        throw new RuntimeException("Plain text passwords are disabled");
                    } else if (useUnicode) {
                        // plain text
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      private ClassToInstanceMap<Number> map;
    
      @Override
      protected void setUp() throws Exception {
        map = MutableClassToInstanceMap.create();
      }
    
      public void testConstraint() {
        /*
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/PrimitiveSink.java

       * {@code bytes[off + len - 1]} is the last.
       *
       * @param bytes a byte array
       * @param off the start offset in the array
       * @param len the number of bytes to write
       * @return this instance
       * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or
       *     {@code len < 0}
       */
      @CanIgnoreReturnValue
      PrimitiveSink putBytes(byte[] bytes, int off, int len);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

         * @throws IllegalArgumentException when
         */
        public void setRequestType(final int requestType) {
            switch (requestType) {
                case REQUEST_PUT:
                    break;
                case REQUEST_GET:
                    break;
                default:
                    throw new IllegalArgumentException("Illegal request type: " + requestType);
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top