- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,386 for Byte (0.03 sec)
-
src/main/java/org/codelibs/core/net/UuidUtil.java
* * @author higa */ public abstract class UuidUtil { /** * Do not instantiate. */ protected UuidUtil() { } private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 }; private static final SecureRandom RANDOM = new SecureRandom();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
src/bufio/example_test.go
const input = "1234 5678 1234567901234567890" scanner := bufio.NewScanner(strings.NewReader(input)) // Create a custom split function by wrapping the existing ScanWords function. split := func(data []byte, atEOF bool) (advance int, token []byte, err error) { advance, token, err = bufio.ScanWords(data, atEOF) if err == nil && token != nil { _, err = strconv.ParseInt(string(token), 10, 32) } return }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
when(enc.encryptMessage(any(byte[].class), eq(99L))).thenReturn(new byte[] { 9, 9 }); when(enc.decryptMessage(any(byte[].class))).thenReturn(new byte[] { 7, 7 }); assertTrue(session.isEncryptionEnabled()); assertSame(enc, session.getEncryptionContext()); byte[] encOut = session.encryptMessage(new byte[] { 1, 2, 3 }); assertArrayEquals(new byte[] { 9, 9 }, encOut);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java
*/ @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java
private byte[] fileId; /** * Constructs an SMB2 flush request * @param config the client configuration * @param fileId the file identifier to flush */ public Smb2FlushRequest(final Configuration config, final byte[] fileId) { super(config, SMB2_FLUSH); this.fileId = fileId; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java
command = SMB_COM_QUERY_INFORMATION; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
/** * SMB2 Lock request message. This command is used to request byte-range locks * on portions of a file. * * @author mbechler * */ public class Smb2LockRequest extends ServerMessageBlock2Request<Smb2LockResponse> implements RequestWithFileId { private int lockSequenceNumber; private int lockSequenceIndex; private byte[] fileId; private final Smb2Lock[] locks; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
* It should write the dialect string to the destination array. */ @Test void testWriteBytesWireFormat() throws UnsupportedEncodingException { byte[] expectedBytes = DIALECTS.getBytes("ASCII"); byte[] dst = new byte[expectedBytes.length]; int dstIndex = 0; // Execute the method to write bytes int bytesWritten = smbComNegotiate.writeBytesWireFormat(dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusRequest.java
int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); this.questionName.hexCode = tmp; return result; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
@NullUnmarked public class FunnelsTest extends TestCase { public void testForBytes() { PrimitiveSink primitiveSink = mock(PrimitiveSink.class); Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink); verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1}); } public void testForBytes_null() { assertNullsThrowException(Funnels.byteArrayFunnel()); } public void testForStrings() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6K bytes - Viewed (0)