Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for openFDs (0.04 sec)

  1. src/main/java/org/codelibs/core/net/URLUtil.java

            CANONICAL_PROTOCOLS.put("vfsfile", "file"); // Proprietary protocol used by JBossAS5 for file system
        }
    
        /**
         * Opens a URL and returns an {@link InputStream}.
         *
         * @param url
         *            The URL. Must not be {@literal null}.
         * @return An {@link InputStream} to read the resource represented by the URL.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbNamedPipe.java

     *
     * <p>
     * There are three Win32 function calls provided by the Windows SDK
     * that are important in the context of using jCIFS. They are:
     *
     * <ul>
     * <li><code>CallNamedPipe</code> A message-type pipe call that opens,
     * writes to, reads from, and closes the pipe in a single operation.
     * <li><code>TransactNamedPipe</code> A message-type pipe call that
     * writes to and reads from an existing pipe descriptor in one operation.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Act + Assert (no exception expected)
            assertDoesNotThrow(() -> SmbCopyUtil.copyFile(src, dest, buffers, 1, new WriterThread(), sh, dh));
    
            // Verify that server-side path engaged at least the initial opens
            verify(src, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
            verify(dest, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. okhttp/build.gradle.kts

          allJvmArgs = allJvmArgs.filter { !it.startsWith("--add-opens") }
        }
        if (name.matches("test.*UnitTest".toRegex()) && javaLauncher.get().metadata.languageVersion.asInt() < 17) {
          // Work around robolectric requirements and limitations
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                    doClose();
                    return null;
                }
                this.ridx = 0;
                return advance(true);
            }
            return null;
        }
    
        /**
         * Opens the enumeration and returns the first entry.
         *
         * @return the first file entry, or null if empty
         * @throws CIFSException if an error occurs during opening
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertEquals(1, stats.totalSuccesses);
            assertEquals(0, stats.totalFailures);
            assertEquals(1.0, stats.successRate);
        }
    
        @Test
        @DisplayName("Test circuit opens after failure threshold")
        void testCircuitOpensAfterThreshold() {
            // Fail 3 times to open the circuit
            for (int i = 0; i < 3; i++) {
                try {
                    circuitBreaker.call(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     *
     * <p>There are three Win32 function calls provided by the Windows SDK
     * that are important in the context of using jCIFS. They are:
     *
     * <ul>
     * <li> <code>CallNamedPipe</code> A message-type pipe call that opens,
     *      writes to, reads from, and closes the pipe in a single operation.
     * <li> <code>TransactNamedPipe</code> A message-type pipe call that
     *      writes to and reads from an existing pipe descriptor in one operation.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

       * the same way.
       */
      public CharSource asCharSource(Charset charset) {
        return new AsCharSource(charset);
      }
    
      /**
       * Opens a new {@link InputStream} for reading from this source. This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            assertTrue(ex2.getMessage().contains("Already closed"));
        }
    
        @Test
        @DisplayName("ensureOpen opens SMB2 via UNC path and marks open")
        void ensureOpen_smb2_opens() throws Exception {
            // Arrange
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlRequest.java

                    }
                }
            };
            if (threadPool != null) {
                threadPool.execute(task);
            } else {
                task.run();
            }
        }
    
        /**
         * Opens a connection to the specified URL.
         *
         * @param u the URL
         * @return the HttpURLConnection
         * @throws IOException if an I/O exception occurs
         */
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top