Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for shared (0.04 sec)

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

            SmbTreeConnection c1 = newConn();
            SmbTreeConnection c2 = newConn();
            SmbTreeImpl shared = mock(SmbTreeImpl.class);
            when(shared.acquire(false)).thenReturn(shared);
    
            setTree(c1, shared);
            setTree(c2, shared);
            assertTrue(c1.isSame(c2));
    
            SmbTreeImpl other = mock(SmbTreeImpl.class);
            when(other.acquire(false)).thenReturn(other);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertNotEquals(a, c);
    
            // Same subject instance -> equal
            Subject shared = new Subject();
            Kerb5Authenticator d1 = new Kerb5Authenticator(shared);
            Kerb5Authenticator d2 = new Kerb5Authenticator(shared);
            assertEquals(d1, d2);
    
            // Different type -> false
            assertFalse(a.equals("not-an-auth"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  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. docs/config/README.md

    ARGS:
    endpoints*       (csv)       comma separated list of etcd endpoints e.g. "http://localhost:2379"
    path_prefix      (path)      namespace prefix to isolate tenants e.g. "customer1/"
    coredns_path     (path)      shared bucket DNS records, default is "/skydns"
    client_cert      (path)      client cert for mTLS authentication
    client_cert_key  (path)      client cert key for mTLS authentication
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

           */
          V get(long nanos)
              throws TimeoutException, CancellationException, ExecutionException, InterruptedException {
    
            // Attempt to acquire the shared lock with a timeout.
            if (!tryAcquireSharedNanos(-1, nanos)) {
              throw new TimeoutException("Timeout waiting for task.");
            }
    
            return getValue();
          }
    
          /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      @get:JvmName("maxAgeSeconds") val maxAgeSeconds: Int,
      /**
       * The "s-maxage" directive is the max age for shared caches. Not to be confused with "max-age"
       * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache.
       */
      @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int,
      val isPrivate: Boolean,
      val isPublic: Boolean,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

        val responsesNotClosed: MutableList<Response?> = ArrayList()
        client =
          client
            .newBuilder()
            // Since this test knowingly leaks a connection, avoid using the default shared connection
            // pool, which should remain clean for subsequent tests.
            .connectionPool(ConnectionPool())
            .addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
        }
    
        @Nested
        @DisplayName("Flag Constants Tests")
        class FlagConstantsTests {
    
            @Test
            @DisplayName("Should have correct shared lock flag value")
            void testSharedLockFlag() {
                assertEquals(0x1, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK);
            }
    
            @Test
            @DisplayName("Should have correct exclusive lock flag value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top