- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for TRAILING (0.05 sec)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
return 0; } } @Test @DisplayName("open(): invalid URL path without trailing slash throws SmbException") void invalidUrlPathThrows() throws Exception { // Override the default setup for this specific test URL invalidUrl = new URL("smb://server/share/dir"); // no trailing '/' when(locator.getURL()).thenReturn(invalidUrl); SmbException ex =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
internal/hash/checksum.go
return sha1.New() case c.Is(ChecksumSHA256): return sha256.New() case c.Is(ChecksumCRC64NVME): return crc64.New(crc64Table) } return nil } // Trailing return whether the checksum is trailing. func (c ChecksumType) Trailing() bool { return c.Is(ChecksumTrailing) } // NewChecksumFromData returns a new Checksum, using specified algorithm type on data.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 18.3K bytes - Viewed (0) -
cmd/utils_test.go
{ path: "/bucket/object/1/", bucket: "bucket", object: "object/1/", }, // Test case 5 object has many trailing separators. { path: "/bucket/object/1///", bucket: "bucket", object: "object/1///", }, // Test case 6 object has only trailing separators. { path: "/bucket/object///////", bucket: "bucket", object: "object///////", },Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
cmd/object-api-utils_test.go
{"␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡", true}, {"trailing VT␋/trailing VT␋", true}, {"␋leading VT/␋leading VT", true}, {"~leading tilde", true}, {"\rleading CR", true}, {"\nleading LF", true}, {"\tleading HT", true}, {"trailing CR\r", true}, {"trailing LF\n", true}, {"trailing HT\t", true}, // cases for which test should fail. // passing invalid object names.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
internal/hash/reader.go
cs, err := GetContentChecksum(req.Header) if err != nil { return ErrInvalidChecksum } if cs == nil { return nil } r.contentHash = *cs if cs.Type.Trailing() { r.trailer = req.Trailer } return r.AddNonTrailingChecksum(cs, ignoreValue) } // AddChecksumNoTrailer will add checksum checks as specified in
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
int destIndex = 0; int unescapedChunkStart = 0; while (index < end) { int cp = codePointAt(s, index, end); if (cp < 0) { throw new IllegalArgumentException("Trailing high surrogate at end of input"); } // It is possible for this to return null because nextEscapeIndex() may // (for performance reasons) yield some false positives but it must neverRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
assertFalse(addresses[i].groupName); } } @Test void readRDataWireFormat_shouldTrimTrailingSpaces() throws Exception { // Test that trailing spaces (0x20) are trimmed from names byte[] src = new byte[50]; int srcIndex = 0; Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals("\\test\\file.txt", request.getPath()); // Test path with trailing backslash (should be stripped) request.setPath("test\\directory\\"); assertEquals("\\test\\directory", request.getPath()); // Test path with both leading and trailing backslash request.setPath("\\test\\directory\\"); assertEquals("\\test\\directory", request.getPath());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
/* * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the * requested path. Normalize this here. */ if (reqPath.charAt(consumed - 1) == '\\') { if (log.isDebugEnabled()) { log.debug("Server consumed trailing slash of request path, adjusting"); } dr.pathConsumed--;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0)