Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 149 for Sizes (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            response.reset();
            // After reset, hasMore should be true again
            assertTrue(response.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test data handling with various sizes")
        void testDataHandlingWithVariousSizes() {
            // Test with small data count
            response.setDataCount(10);
            assertEquals(10, response.getDataCount());
    
            // Test with large data count
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertNotNull(fileFsFullSizeInfo.getCapacity());
                assertNotNull(fileFsFullSizeInfo.getFree());
            }
    
            @ParameterizedTest
            @DisplayName("Should calculate various file system sizes correctly")
            @CsvSource({ "1048576, 524288, 8, 512, 4294967296, 2147483648", // 4GB total, 2GB free
                    "2097152, 1048576, 8, 512, 8589934592, 4294967296", // 8GB total, 4GB free
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

            break
          }
        }
      }
      return result.toTypedArray()
    }
    
    /**
     * Returns true if there is an element in this array that is also in [other]. This method terminates
     * if any intersection is found. The sizes of both arguments are assumed to be so small, and the
     * likelihood of an intersection so great, that it is not worth the CPU cost of sorting or the
     * memory cost of hashing.
     */
    internal fun Array<String>.hasIntersection(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. README.md

     * HTTP/2 support allows all requests to the same host to share a socket.
     * Connection pooling reduces request latency (if HTTP/2 isn’t available).
     * Transparent GZIP shrinks download sizes.
     * Response caching avoids the network completely for repeat requests.
    
    OkHttp perseveres when the network is troublesome: it will silently recover from common connection
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // When
            int size = request.size();
    
            // Then - should include context sizes
            assertTrue(size > 112); // Bigger than without contexts
            assertEquals(0, size % 8); // Should be 8-byte aligned
        }
    
        @Test
        @DisplayName("Should write bytes to wire format correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        }
    
        @Test
        @DisplayName("readSetupWireFormat with various parameters should return 0")
        void testReadSetupWireFormatVariousParams() {
            // Test with different buffer sizes and offsets
            int[][] testCases = { { 0, 50 }, // No offset, 50 bytes
                    { 10, 90 }, // 10 byte offset, 90 bytes
                    { 50, 50 }, // 50 byte offset, 50 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

            sink
              .writeUtf8("Content-Type: ")
              .writeUtf8(contentType.toString())
              .write(CRLF)
          }
    
          // We can't measure the body's size without the sizes of its components.
          val contentLength = body.contentLength()
          if (contentLength == -1L && countBytes) {
            byteCountBuffer!!.clear()
            return -1L
          }
    
          sink.write(CRLF)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Access size8 method via reflection
            Method size8Method = ServerMessageBlock2.class.getDeclaredMethod("size8", int.class);
            size8Method.setAccessible(true);
    
            // When & Then - test various sizes for 8-byte alignment
            assertEquals(8, size8Method.invoke(request, 1));
            assertEquals(8, size8Method.invoke(request, 8));
            assertEquals(16, size8Method.invoke(request, 9));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/popper.min.js.map

    left: rect.left,\n    top: rect.top,\n    width: rect.right - rect.left,\n    height: rect.bottom - rect.top,\n  };\n\n  // subtract scrollbar size from sizes\n  const sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n  const width =\n    sizes.width || element.clientWidth || result.width;\n  const height =\n    sizes.height || element.clientHeight || result.height;\n\n  let horizScrollbar = element.offsetWidth - width;\n  let vertScrollbar = element.offsetHeight - height;\n\n...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    		// This is necessary as most compression formats have non-zero lengths
    		// even when compressing an empty string.
    		fh.Method = Store
    		fh.Flags &^= 0x8 // we will not write a data descriptor
    
    		// Explicitly clear sizes as they have no meaning for directories.
    		fh.CompressedSize = 0
    		fh.CompressedSize64 = 0
    		fh.UncompressedSize = 0
    		fh.UncompressedSize64 = 0
    
    		ow = dirWriter{}
    	} else {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top