Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 379 for shard (0.02 sec)

  1. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        @ParameterizedTest
        @DisplayName("disconnect returns expected for flag combinations")
        @CsvSource({
                // hard, inuse, expected
                "true,true,false", "true,false,true", "false,true,true", "false,false,false" })
        void disconnect_flagCombinations(boolean hard, boolean inuse, boolean expected) throws Exception {
            when(transport.disconnect(anyBoolean(), anyBoolean())).thenAnswer(inv -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

         * the share permissions on the share exporting this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         * <p>
         * Note that this is different from calling <code>getSecurity</code> on a
         * share. There are actually two different ACLs for shares - the ACL on
         * the share and the ACL on the folder being shared.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

    import okhttp3.internal.okHttpName
    import okhttp3.internal.threadFactory
    
    /**
     * A set of worker threads that are shared among a set of task queues.
     *
     * Use [INSTANCE] for a task runner that uses daemon threads. There is not currently a shared
     * instance for non-daemon threads.
     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        assertThat(original.interceptors.size).isEqualTo(0)
        assertThat(original.networkInterceptors.size).isEqualTo(0)
      }
    
      /**
       * When copying the client, stateful things like the connection pool are shared across all
       * clients.
       */
      @Test fun cloneSharesStatefulInstances() {
        val client = clientTestRule.newClient()
    
        // Values should be non-null.
        val a = client.newBuilder().build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *  smb1://host/share/foo/bar/
     * </code></td><td ><code>
     *  ../zip/
     * </code></td><td><code>
     *  smb1://host/share/foo/zip/
     * </code></td></tr>
     *
     * <tr><td ><code>
     *  smb1://host/share/zig/zag
     * </code></td><td ><code>
     *  smb1://foo/bar/
     * </code></td><td><code>
     *  smb1://foo/bar/
     * </code></td></tr>
     *
     * <tr><td ><code>
     *  smb1://host/share/foo/
     * </code></td><td ><code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

    /** An HTTP request that came into the mock web server. */
    public class RecordedRequest(
      /**
       * The index of the socket connection that carried this request. If two recorded requests share a
       * connection index, they also shared a socket connection.
       */
      public val connectionIndex: Int,
      /**
       * The index of this exchange on its HTTP connection. A request is uniquely identified by the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/PathValidatorTest.java

            // Normal extensions should be allowed
            assertEquals("\\share\\file.txt", validator.validatePath("\\share\\file.txt"));
            assertEquals("\\share\\document.docx", validator.validatePath("\\share\\document.docx"));
            assertEquals("\\share\\archive.tar.gz", validator.validatePath("\\share\\archive.tar.gz"));
        }
    
        @Test
        public void testInternationalCharacters() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt");
            assertEquals("file.txt", a.getName());
    
            // share name with trailing slash when only share present
            SmbResourceLocatorImpl b = locator("smb://server/share/");
            assertEquals("share/", b.getName());
    
            // host when no path/share
            SmbResourceLocatorImpl c = locator("smb://server/");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

        this because it only occurs if you have proxy configured and you share a connection pool among
        multiple `OkHttpClient` instances.
    
        This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own
        `NullProxySelector` when an explicit proxy is configured. But we don't share connections when
        the proxy selectors are different. Ugh!
    
    
    ## Version 4.2.0
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTree.java

         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
        int tree_num; // used by SmbFile.isOpen
    
        SmbTree(final SmbSession session, final String share, final String service) {
            this.session = session;
            this.share = share.toUpperCase();
            if (service != null && !service.startsWith("??")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top