- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 165 for truncate (0.06 sec)
-
src/main/java/jcifs/netbios/Name.java
return this.hexCode; } /** * Constructs a NetBIOS name with the specified parameters. * * @param cfg the configuration to use * @param name the NetBIOS name (will be truncated to 15 characters if longer) * @param hexCode the NetBIOS name type code * @param scope the NetBIOS scope identifier */ public Name(final Configuration cfg, String name, final int hexCode, final String scope) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
* @param usage the Kerberos key usage number for this operation * @param baseKey the base Kerberos key for key derivation * @param input the data to calculate the MAC for * @return the calculated MAC bytes (truncated to 12 bytes) * @throws GeneralSecurityException if cryptographic operations fail */ public static byte[] calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input) throws GeneralSecurityException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
*/ Name() { } /** * Creates a NetBIOS name with the specified attributes. * * @param name the NetBIOS name (will be truncated to 15 characters if longer) * @param hexCode the NetBIOS name type/suffix * @param scope the NetBIOS scope identifier (uses default if null or empty) */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt
} } private fun runTest( number: Long, count: Long, ) { val latch = CountDownLatch(1) val startNanos = AtomicLong() newWebSocket( "/runCase?case=$number&agent=okhttp", object : WebSocketListener() { override fun onOpen( webSocket: WebSocket, response: Response, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
src/archive/zip/reader.go
// n is length of comment n := int(b[i+directoryEndLen-2]) | int(b[i+directoryEndLen-1])<<8 if n+directoryEndLen+i > len(b) { // Truncated comment. // Some parsers (such as Info-ZIP) ignore the truncated comment // rather than treating it as a hard error. return -1 } return i } } return -1 } type readBuf []byte
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
} @Test @DisplayName("byte[] ctor: malformed DER is wrapped as PACDecodingException (IOException path)") void byteArrayConstructor_malformedDER_throwsWrapped() { // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content) byte[] malformed = new byte[] { 0x30, 0x02, 0x01 }; // Act + Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* @throws SmbException if an I/O error occurs */ public long length() throws SmbException { return file.length(); } /** * Sets the length of the file. The file will be truncated or extended as necessary. * * @param newLength the new file length in bytes * @throws SmbException if an I/O error occurs */ public void setLength(final long newLength) throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
assertArrayEquals(clientChallenge, Arrays.copyOfRange(actual, 16 + 16, 16 + 16 + 8)); } @Test @DisplayName("getPreNTLMResponse: uses OEM bytes, truncates to 14, verifies interactions") void testGetPreNTLMResponse_basicAndInteractions() throws Exception { // Arrange when(cifsContext.getConfig()).thenReturn(configuration);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-riscv64), func SysctlUint32(string) (uint32, error) #53466 pkg syscall (freebsd-riscv64), func TimevalToNsec(Timeval) int64 #53466 pkg syscall (freebsd-riscv64), func Truncate(string, int64) error #53466 pkg syscall (freebsd-riscv64), func Umask(int) int #53466 pkg syscall (freebsd-riscv64), func Undelete(string) error #53466 pkg syscall (freebsd-riscv64), func UnixRights(...int) []uint8 #53466
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 17 21:23:32 UTC 2023 - 602.6K bytes - Viewed (0)