Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 2,781 for throwIt (2.34 sec)

  1. src/main/java/jcifs/http/NetworkExplorer.java

         * @param f1name name of first file
         * @param f2 second file to compare
         * @return comparison result for sorting
         * @throws IOException if an I/O error occurs
         */
        protected int compareNames(final SmbFile f1, final String f1name, final SmbFile f2) throws IOException {
            if (f1.isDirectory() != f2.isDirectory()) {
                return f1.isDirectory() ? -1 : 1;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("setFileId should update file ID")
        void testSetFileId() throws Exception {
            byte[] newFileId = new byte[16];
            Arrays.fill(newFileId, (byte) 0xFF);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

              e: IOException,
            ) {
              latch.countDown()
            }
    
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
                Thread.sleep(500)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
              assertFailsWith<IOException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

        @Override
        public ClassificationMeta provide(final String classificationName) throws ProvidedClassificationNotFoundException {
            final ClassificationMeta onMainSchema = findOnMainSchema(classificationName);
            if (onMainSchema == null) {
                final String msg = "Not found the classification: " + classificationName;
                throw new ProvidedClassificationNotFoundException(msg);
            }
            return onMainSchema;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#store(Properties, java.io.OutputStream, String)}
         * .
         *
         * @throws IOException
         */
        @Test
        public void testStorePropertiesOutputStreamString() throws IOException {
            final Properties outProperties = new Properties();
            outProperties.setProperty("a", "A");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

      }
    
      public void start() throws Exception {
        if (mockWebServer != null) throw new IllegalStateException();
    
        mockWebServer = new MockWebServer();
        mockWebServer.setDispatcher(this);
        mockWebServer.start(slackApi.port);
      }
    
      public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) {
        if (mockWebServer == null) throw new IllegalStateException();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostForm().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multiset.java

       *     no change will be made.
       * @return the count of the element before the operation; possibly zero
       * @throws IllegalArgumentException if {@code occurrences} is negative, or if this operation would
       *     result in more than {@link Integer#MAX_VALUE} occurrences of the element
       * @throws NullPointerException if {@code element} is null and this implementation does not permit
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/netbios/SessionServicePacket.java

            int i = 0, n;
    
            while (i < len) {
                n = in.read(b, off + i, len - i);
                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
        static int readPacketType(final InputStream in, final byte[] buffer, final int bufferIndex) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top