Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 392 for total (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          List<Constructor<X>> constructors) {
        return WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM.sortedCopy(constructors);
      }
    
      // TODO: b/296487962 - Consider defining a total order over constructors.
      private static final Ordering<List<Class<?>>> ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST =
          Ordering.natural()
              .onResultOf((List<Class<?>> params) -> params.contains(String.class))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. README.md

    ```
    
    ### Connection Pool Tuning
    
    ```java
    container.singleton("httpClient", HcHttpClient.class, client -> {
        client.setMaxConnections(200);          // Total connections
        client.setMaxConnectionsPerRoute(20);   // Per-host connections
        client.setConnectionTimeout(30000);     // Connection timeout
        client.setSocketTimeout(60000);         // Read timeout
    });
    ```
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Verify filename
            String actualFilename = readString(buffer, 12, written - 12);
            assertEquals(TEST_FILENAME, actualFilename);
    
            // Verify total bytes written
            assertTrue(written >= 12 + TEST_FILENAME.length());
        }
    
        @Test
        void testWriteDataWireFormat() {
            // Test data wire format writing (should return 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         *
         * @param b the buffer into which the data is read
         * @param off the start offset in the array b at which the data is written
         * @param len the maximum number of bytes to read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
        public int readDirect(final byte[] b, final int off, int len) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Chars.java

       *
       * @param arrays zero or more {@code char} arrays
       * @return a single array containing all the values from the source arrays, in order
       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static char[] concat(char[]... arrays) {
        long length = 0;
        for (char[] array : arrays) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            offset += 2;
    
            // 4. MaxDataCount (2 bytes)
            int maxDataCount = SMBUtil.readInt2(dst, offset);
            assertTrue(maxDataCount > 0);
            offset += 2;
    
            // Verify total bytes written
            assertEquals(offset, bytesWritten);
        }
    
        // Helper methods
    
        private Object getFieldValue(Object obj, String fieldName) {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 36] = 0x00; // reserved
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            // Verify the correct number of bytes were read (37 bytes total)
            assertEquals(37, bytesRead);
    
            // Verify values through reflection
            Field totalParamField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalParameterCount");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
    
        private byte command, flags;
        /**
         * Starting position of the SMB header in the buffer.
         */
        protected int headerStart;
        /**
         * Total length of the SMB message.
         */
        protected int length;
        /**
         * Batch level for batched requests.
         */
        protected int batchLevel;
        /**
         * Error code returned by the server.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        public void test_selectList_sizeExceedsAvailable() {
            loadTestData();
    
            DictionaryFile.PagingList<StopwordsItem> result = stopwordsFile.selectList(3, 10);
            // With offset 3 and total 5 items, we should get 2 items
            assertEquals(2, result.size());
            assertEquals(1, result.getCurrentPageNumber()); // First page since we're getting actual results
            assertEquals(10, result.getPageSize());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils.go

    	}
    	if partSize == 0 {
    		return 0, errPartSizeZero
    	}
    	if partIndex < 1 {
    		return 0, errPartSizeIndex
    	}
    	if totalSize == -1 {
    		return -1, nil
    	}
    	if totalSize > 0 {
    		// Compute the total count of parts
    		partsCount := totalSize/partSize + 1
    		// Return the part's size
    		switch {
    		case int64(partIndex) < partsCount:
    			currPartSize = partSize
    		case int64(partIndex) == partsCount:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top