- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 455 for Totals (0.38 sec)
-
src/main/java/jcifs/util/PathValidator.java
*/ public PathValidator() { this(260, 255, true, false); } /** * Create path validator with custom settings * * @param maxPathLength maximum total path length * @param maxComponentLength maximum length for path components * @param allowUncPaths whether to allow UNC paths * @param strictMode strict validation mode */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
int result = nameQueryResponse.readBodyWireFormat(src, srcIndex); assertEquals(12 + 6, result, "readBodyWireFormat should return the total bytes read"); } @Test void writeRDataWireFormat_shouldReturnZero() { // This method is implemented to always return 0 byte[] dst = new byte[10]; int dstIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
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) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertTrue(successCount.get() > 0, "Some requests should succeed"); assertEquals(5, rejectedCount.get() + successCount.get(), "Total should be 5"); } finally { backpressureCircuitBreaker.close(); } } @Test public void testResponseTimeTracking() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
cmd/global-heal.go
return nil } disks = disks[:len(disks)-healing] // healing drives are always at the end of the list if len(disks) < er.setDriveCount/2 { return fmt.Errorf("not enough drives (found=%d, healing=%d, total=%d) are available to heal `%s`", len(disks), healing, er.setDriveCount, tracker.disk.String()) } rand.Shuffle(len(disks), func(i, j int) { disks[i], disks[j] = disks[j], disks[i] })
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 04 13:49:12 UTC 2025 - 16.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)