- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 575 for shar (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/api-headers_test.go
func TestNewRequestID(t *testing.T) { // Ensure that it returns an alphanumeric result of length 16. id := mustGetRequestID(UTCNow()) if len(id) != 16 { t.Fail() } var e rune for _, char := range id { e = char // Ensure that it is alphanumeric, in this case, between 0-9 and A-Z. isAlnum := ('0' <= e && e <= '9') || ('A' <= e && e <= 'Z') if !isAlnum { t.Fail() } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// The getEntries method returns FileEntry objects. We can check their names. assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct."); assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct."); } /** * Test the getEntries() method when the DfsEnumArray200 is empty. * Verifies that an empty array is returned.Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
}; ; abstract byte[] hash(Algorithm algorithm, byte[] input); } private enum Algorithm { MD5("MD5", Hashing.md5()), SHA_1("SHA-1", Hashing.sha1()), SHA_256("SHA-256", Hashing.sha256()), SHA_384("SHA-384", Hashing.sha384()), SHA_512("SHA-512", Hashing.sha512()); private final String algorithmName; private final HashFunction hashFn;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
}; ; abstract byte[] hash(Algorithm algorithm, byte[] input); } private enum Algorithm { MD5("MD5", Hashing.md5()), SHA_1("SHA-1", Hashing.sha1()), SHA_256("SHA-256", Hashing.sha256()), SHA_384("SHA-384", Hashing.sha384()), SHA_512("SHA-512", Hashing.sha512()); private final String algorithmName; private final HashFunction hashFn;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Missing trailing slash -> should complain about directory ending Arguments.of("smb://server/share", "/share", true), // Not a server root -> invalid list operation Arguments.of("smb://server/share/", "/share/", false)); } @ParameterizedTest(name = "invalid path: {0}") @MethodSource("invalidShareEnumCases")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java
"test".getBytes(StandardCharsets.UTF_8), service.select(Arrays.asList("SHA-1", "MD5"))); assertNotNull(checksums); assertEquals(2, checksums.size()); assertEquals("a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", checksums.get(service.select("SHA-1"))); assertEquals("098f6bcd4621d373cade4e832627b4f6", checksums.get(service.select("MD5"))); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 11:31:00 GMT 2025 - 4.7K bytes - Click Count (0) -
internal/config/identity/openid/ecdsa-sha3_contrib.go
// limitations under the License. package openid import ( "crypto" "github.com/golang-jwt/jwt/v4" // Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288 _ "golang.org/x/crypto/sha3" ) // Specific instances for EC256 and company var ( SigningMethodES3256 *jwt.SigningMethodECDSA SigningMethodES3384 *jwt.SigningMethodECDSA
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
* * @return the registration ID */ public String getRegistrationId() { return registrationId; } /** * Gets the share name. * * @return the share name */ public String getShareName() { return shareName; } /** * Gets the server address. * * @return the server address */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// TODO(lukes): in a real implementation we would need to handle overflow conditions int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte()); char[] buffer = new char[maxChars]; int bufIndex = 0; int remaining = buffer.length; try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { int nRead = 0;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
} public void testCharsIgnored() { for (char c : IGNORED.toCharArray()) { String str = String.valueOf(c); assertEquals(str, c, Ascii.toLowerCase(c)); assertEquals(str, c, Ascii.toUpperCase(c)); assertFalse(str, Ascii.isLowerCase(c)); assertFalse(str, Ascii.isUpperCase(c)); } } public void testCharsLower() { for (char c : LOWER.toCharArray()) { String str = String.valueOf(c);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.5K bytes - Click Count (0)