- Sort Score
- Result 10 results
- Languages All
Results 1401 - 1410 of 1,848 for lengths (0.16 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
) { exchange.noNewExchangesOnConnection() } if ((code == 204 || code == 205) && response.body.contentLength() > 0L) { throw ProtocolException( "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}", ) } return response } catch (e: IOException) { if (sendRequestException != null) { sendRequestException.addSuppressed(e)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0) -
README.md
// Access a file (encryption is transparent - automatically used if server requires it) try (SmbFile file = new SmbFile("smb://server/share/file.txt", context)) { if (file.exists()) { System.out.println("File size: " + file.length()); } } ``` ### With Authentication ```java import jcifs.CIFSContext; import jcifs.context.BaseContext; import jcifs.smb.NtlmPasswordAuthenticator; // Create context with credentials
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/Referral.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
SmbFilenameFilter filter = new SmbFilenameFilter() { @Override public boolean accept(SmbFile dir, String name) throws SmbException { return name != null && name.length() > 3; } }; assertTrue(filter.accept(mockDir, "long")); assertFalse(filter.accept(mockDir, "no")); verifyNoInteractions(mockDir); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
* @param off the start offset in the array * @param len the number of bytes to write * @return this instance * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or * {@code len < 0} */ @CanIgnoreReturnValue PrimitiveSink putBytes(byte[] bytes, int off, int len); /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
// Attempt to read nativeFileSystem, but don't fail if there are issues final int fsLen = this.byteCount - (bufferIndex - start); if (fsLen > 0 && fsLen < 256) { // Sanity check on length this.nativeFileSystem = readString(buffer, bufferIndex); bufferIndex += stringWireLength(this.nativeFileSystem, bufferIndex); } } catch (final Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
this(parseSequence(token), keys); } private static ASN1Sequence parseSequence(byte[] token) throws PACDecodingException { if (token.length <= 0) { throw new PACDecodingException("Empty kerberos ApReq"); } ASN1Sequence sequence; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
utils/tests/utils.go
AssertEqual(t, reflect.ValueOf(got).Index(i).Interface(), reflect.ValueOf(expect).Index(i).Interface()) }) } } else { name := reflect.ValueOf(got).Type().Elem().Name() t.Errorf("%v expects length: %v, got %v (expects: %+v, got %+v)", name, reflect.ValueOf(expect).Len(), reflect.ValueOf(got).Len(), expect, got) } return } } if reflect.ValueOf(got).Kind() == reflect.Struct {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
builder.add(BEFORE_FIRST); builder.add(elements); builder.add(AFTER_LAST); return builder.build().asList().subList(1, elements.length + 1); } } public static class ImmutableSortedSetSubsetAsListSubListGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0)