- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 208 for 2586 (0.01 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
outputBufferLengthField.setAccessible(true); outputBufferLengthField.set(request, 0x8000); // Create a buffer and write byte[] buffer = new byte[256]; int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify structure size (should be 41) assertEquals(41, SMBUtil.readInt2(buffer, 64));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
} /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */ public static HashFunction sha256() { return Sha256Holder.SHA_256; } private static final class Sha256Holder { static final HashFunction SHA_256 = new MessageDigestHashFunction("SHA-256", "Hashing.sha256()"); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:06:57 UTC 2025 - 31.1K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertEquals(2048, result.length()); // 1024 bytes * 2 chars // Test partial conversion String partial = Hexdump.toHexString(data, 512, 256); assertEquals(512, partial.length()); // 256 bytes * 2 chars assertTrue(partial.startsWith("00010203")); // 512 % 256 = 0, so starts at 0 }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
getHeaderStartMethod.setAccessible(true); // Create a buffer and write byte[] buffer = new byte[256]; int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify structure size (should be 33) assertEquals(33, SMBUtil.readInt2(buffer, 64));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
cmd/object-api-datatypes.go
{"BETWEEN_1024_B_AND_64_KB", humanize.KiByte, 64*humanize.KiByte - 1}, // not exported, for support use only {"BETWEEN_64_KB_AND_256_KB", 64 * humanize.KiByte, 256*humanize.KiByte - 1}, // not exported, for support use only {"BETWEEN_256_KB_AND_512_KB", 256 * humanize.KiByte, 512*humanize.KiByte - 1}, // not exported, for support use only
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
// Create a buffer with sample data byte[] buffer = new byte[100]; // Fill with some test data for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } int result = resp.readDataWireFormat(buffer, 0, 40); assertNotNull(resp.info); assertTrue(resp.info instanceof Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
cmd/sftp-server.go
// because they have reached the end of their useful life. // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=85 var supportedMACs = []string{ "hmac-sha2-256******@****.***", "******@****.***", "hmac-sha2-256", "hmac-sha2-512", "hmac-sha1", "hmac-sha1-96", } func sshPubKeyAuth(c ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) { return authenticateSSHConnection(c, key, nil) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
@Override public void setBlacklisted(boolean blacklisted) { this.blacklisted = blacklisted; } @Override public String toString() { StringBuilder sb = new StringBuilder(256); sb.append(" id: ").append(getId()).append('\n'); sb.append(" url: ").append(getUrl()).append('\n'); sb.append(" layout: ").append(layout != null ? layout : "none").append('\n');
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
this.metadata.merge(repoMetadata.getMetadata()); } @Override public String extendedToString() { StringBuilder buffer = new StringBuilder(256); buffer.append(LS).append("Repository Metadata").append(LS).append("--------------------------"); buffer.append(LS).append("GroupId: ").append(getGroupId());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
} @GwtIncompatible // Chars.fromByteArray, Chars.toByteArray public void testByteArrayRoundTrips() { char c = 0; for (int hi = 0; hi < 256; hi++) { for (int lo = 0; lo < 256; lo++) { char result = Chars.fromByteArray(new byte[] {(byte) hi, (byte) lo}); assertWithMessage( String.format( Locale.ROOT,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0)