Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 3,054 for throws (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * Returns the signing key for SMB signing.
         *
         * @param challenge the server challenge bytes
         * @return the signing key
         * @throws SmbException if an error occurs generating the signing key
         */
        public byte[] getSigningKey(final byte[] challenge) throws SmbException {
            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
            case 2:
                final byte[] signingKey = new byte[40];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

        map.put("one", 1);
        map.put("two", 2);
        map.put("three", 3);
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java

    public class ContentLengthHelperTest extends PlainTestCase {
        private static long DEFAULT_MAX_LENGTH = 10L * 1024L * 1024L;
    
        public ContentLengthHelper contentLengthHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("contentLengthHelper", ContentLengthHelper.class);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

          } else {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
    
          // Parse response code like "200". Always 3 digits.
          if (statusLine.length < codeStart + 3) {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
          val code =
            statusLine.substring(codeStart, codeStart + 3).toIntOrNull()
              ?: throw ProtocolException(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                generateContents(tempDir, count);
    
                return tempDir;
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        private static void generateContents(final File dir, final int count) throws Exception {
            if (count <= 0) {
                return;
            }
    
            final String content = getHtmlContent(count);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

            try {
                zis.reset();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Closes the {@link ZipInputStream}.
         * <p>
         * If {@link ZipInputStream#closeEntry()} throws an exception, an error message is logged.
         * The exception is not rethrown.
         * </p>
         *
         * @param zis
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         * @param buffer the buffer to read from
         * @param bufferIndex the starting index
         * @return the number of bytes read
         * @throws SMBProtocolDecodingException if decoding fails
         */
        protected int readAndXWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            this.wordCount = buffer[bufferIndex];
            bufferIndex++;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

    import okhttp3.Response;
    
    public class SampleHttpClient {
      private final OkHttpClient client;
    
      public SampleHttpClient() {
        client = new OkHttpClient.Builder().build();
      }
    
      public void makeCall(HttpUrl url) throws IOException {
        try (Response response = client.newCall(new Request(url, Headers.EMPTY, "GET", null)).execute()) {
          System.out.println(response.body().string());
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      public void testExtensiveWithAbsolutePrefix() throws IOException {
        // Inputs are /b/c/<every possible 10-character string of characters "a./">
        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DictionaryItemTest extends UnitFessTestCase {
    
        private TestDictionaryItem dictionaryItem;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            dictionaryItem = new TestDictionaryItem();
        }
    
        public void test_getId_defaultValue() {
            // Test that default ID value is 0
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top