- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 524 for crawling (0.09 sec)
-
src/test/java/jcifs/smb/HandlerTest.java
@Test @DisplayName("parseURL with null spec throws NullPointerException") void testParseURL_NullSpec() throws MalformedURLException { // Arrange: create a URL object to mutate via parseURL (same package allows calling protected method) Handler handler = newHandler(); URL url = new URL(null, "smb://server/share", handler); // Act & AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
cmd/warm-backend-gcs.go
// Refer to https://cloud.google.com/storage/docs/transcoding#decompressive_transcoding // Need to set `Accept-Encoding` header to `gzip` when issuing a GetObject call, to be able // to download the object in compressed state. // Calling ReadCompressed with true accomplishes that. object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key)).ReadCompressed(true) r, err = object.NewRangeReader(ctx, opts.startOffset, opts.length) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
| ((source[offset + 3] & 0xFF) << 24); } /** * Indicates that the load and store operations will be very efficient because of use of VarHandle * or Unsafe. May be useful for calling code to fall back on an alternative implementation that is * slower than those implementations but faster than the pure-Java mask-and-shift. */ static boolean usingFastPath() { return byteArray.usesFastPath();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
void testHasMoreElements() { // Initially should have more elements if error code is 0 assertTrue(response.hasMoreElements()); // After calling nextElement once, isPrimary becomes false but hasMore is still true initially response.nextElement(); // Can still have more elements assertTrue(response.hasMoreElements()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
// Act long actual = getter.apply(e); // Assert assertEquals(value, actual, label); } @Test @DisplayName("Calling a method on null reference throws NPE") void nullReference_throwsNPE() { // Arrange FileEntry e = null; // Act & Assert: demonstrate invalid usage results in NPERegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
} @RetainedLocalRef Object localValue = valueField; if (localValue != null & notInstanceOfDelegatingToFuture(localValue)) { return getDoneValue(localValue); } // we delay calling nanoTime until we know we will need to either park or spin long endNanos = remainingNanos > 0 ? System.nanoTime() + remainingNanos : 0; long_wait_loop: if (remainingNanos >= SPIN_THRESHOLD_NANOS) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
* in such a way that there can be a slash at the end of the path. This * causes problems matching keys in resolve() where an extra slash causes * a mismatch. This strips trailing slashes from all keys to eliminate * this problem. */ int ki = key.length(); while (ki > 1 && key.charAt(ki - 1) == '\\') { ki--; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
// Test duplicate slash removal assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder")); // Test trailing slash removal assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\")); } @Test public void testDirectoryTraversal() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
validateSmbPath(path); // Normalize slashes path = path.replace('/', '\\'); // Remove redundant slashes path = path.replaceAll("\\\\+", "\\\\"); // Remove trailing slash unless it's root if (path.length() > 1 && path.endsWith("\\")) { path = path.substring(0, path.length() - 1); } return path; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
if cr.debug { fmt.Printf("prefix, want prefix %q, got %q", "x-amz-trailer-signature:", string(sig)) } return errMalformedEncoding } // TODO: It seems like we may have to be prepared to rewrite and sort trailing headers: // https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html // Any value must end with a newline. // Not all clients send that. trailerRaw := valueBuffer.Bytes()Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0)