Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 469 for shard (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
        // not bothering testing all variations, since we know they share implementations
        assertTrue(Striped.lock(100).size() >= 100);
        assertTrue(Striped.lock(256).size() == 256);
        assertTrue(Striped.lazyWeakLock(100).size() >= 100);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
        // not bothering testing all variations, since we know they share implementations
        assertTrue(Striped.lock(100).size() >= 100);
        assertTrue(Striped.lock(256).size() == 256);
        assertTrue(Striped.lazyWeakLock(100).size() >= 100);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            assertNotNull(cifsContextWrapper);
        }
    
        @Test
        void testGetSmbResource() throws CIFSException, MalformedURLException {
            // Test get(String url) method
            String url = "smb://server/share/file.txt";
            SmbResource mockSmbResource = mock(SmbFile.class);
            // Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate
            // and ensure no exception is thrown for a valid URL.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbFile.tree = smbTree;
            smbFile.fid = 1;
            smbFile.tree_num = 1;
    
            when(smbFile.isFile()).thenReturn(true);
            when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt");
            when(smbFile.isOpen()).thenReturn(true);
    
            // Mock the open method to do nothing
            doNothing().when(smbFile).open(anyInt(), anyInt(), anyInt(), anyInt());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Platform.java

       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
       * about arrays for now, as they're a mess. (We previously discussed this in the review of
       * ObjectArrays, which is the main caller of this method.)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

      fun route(): Route
    
      /**
       * Returns the socket that this connection is using. Returns an
       * [SSL socket][javax.net.ssl.SSLSocket] if this connection is HTTPS. If this is an HTTP/2
       * connection the socket may be shared by multiple concurrent calls.
       */
      fun socket(): Socket
    
      /**
       * Returns the TLS handshake used to establish this connection, or null if the connection is not
       * HTTPS.
       */
      fun handshake(): Handshake?
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComNTCreateAndX extends AndXServerMessageBlock {
    
        // share access specified in SmbFile
    
        // create disposition
    
        /* Creates a new file or supersedes the existing one
         */
    
        static final int FILE_SUPERSEDE = 0x0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

    /**
     * A set of tasks that are executed in sequential order.
     *
     * Work within queues is not concurrent. This is equivalent to each queue having a dedicated thread
     * for its work; in practice a set of queues may share a set of threads to save resources.
     */
    class TaskQueue internal constructor(
      internal val taskRunner: TaskRunner,
      internal val name: String,
    ) {
      internal var shutdown = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

                p++;
            }
            while (p < len && pathInfo.charAt(p) == '/') {
                p++;
            }
            if (p < len) { /* then there must be a share */
                out[i] = '/';
                i++;
                do { /* collect the share name */
                    out[i++] = ch = pathInfo.charAt(p++);
                } while (p < len && ch != '/');
            }
            return new String(out, 0, i);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params-numeric-validations.md

    * `ge`: `g`reater than or `e`qual
    * `lt`: `l`ess `t`han
    * `le`: `l`ess than or `e`qual
    
    /// info
    
    `Query`, `Path`, and other classes you will see later are subclasses of a common `Param` class.
    
    All of them share the same parameters for additional validation and metadata you have seen.
    
    ///
    
    /// note | Technical Details
    
    When you import `Query`, `Path` and others from `fastapi`, they are actually functions.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top