- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 1,385 for 1byte (0.02 sec)
-
src/main/java/jcifs/smb/SmbTransportImpl.java
} if (this.sbuf[0] == (byte) 0x00 && this.sbuf[1] == (byte) 0x00 && this.sbuf[4] == (byte) 0xFF && this.sbuf[5] == (byte) 'S' && this.sbuf[6] == (byte) 'M' && this.sbuf[7] == (byte) 'B') { break; /* all good (SMB) */ } /* out of phase maybe? */ /* inch forward 1 byte and try again */ for (int i = 0; i < 35; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
this.suppliedWorkstation = suppliedWorkstation; } @Override public byte[] toByteArray() { try { int flags = getFlags(); int size = 8 * 4 + ((flags & NTLMSSP_NEGOTIATE_VERSION) != 0 ? 8 : 0); byte[] domain = {}; final String suppliedDomainString = getSuppliedDomain();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
} return true, "" } func TestCmpReaders(t *testing.T) { { r1 := bytes.NewReader([]byte("abc")) r2 := bytes.NewReader([]byte("abc")) ok, msg := cmpReaders(r1, r2) if !ok || msg != "" { t.Fatalf("unexpected") } } { r1 := bytes.NewReader([]byte("abc")) r2 := bytes.NewReader([]byte("abcd")) ok, _ := cmpReaders(r1, r2) if ok { t.Fatalf("unexpected") } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
dstIndex += 2; return dstIndex - start; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x01; /* BufferFormat */ dstIndex++; SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */ dstIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
assertThat(ClassUtil.getPrimitiveClassIfWrapper(Byte.class), is(sameClass(byte.class))); } /** * */ @Test public void testGetWrapperClass() { assertThat(ClassUtil.getWrapperClass(int.class), is(sameClass(Integer.class))); assertThat(ClassUtil.getWrapperClass(String.class), is(nullValue())); assertThat(ClassUtil.getWrapperClass(byte.class), is(sameClass(Byte.class))); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
*/ public String getMimeType(final String extension, final String def) throws IOException { int state, t, x, i, off; byte ch; final byte[] type = new byte[128]; final byte[] buf = new byte[16]; final byte[] ext = extension.toLowerCase().getBytes("ASCII"); state = ST_START; t = x = i = 0; for (off = 0; off < inLen; off++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
*/ @GwtIncompatible // doesn't work public static byte[] toByteArray(short value) { return new byte[] {(byte) (value >> 8), (byte) value}; } /** * Returns the {@code short} value whose big-endian representation is stored in the first 2 bytes * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getShort()}. For example, the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
*/ @GwtIncompatible // doesn't work public static byte[] toByteArray(short value) { return new byte[] {(byte) (value >> 8), (byte) value}; } /** * Returns the {@code short} value whose big-endian representation is stored in the first 2 bytes * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getShort()}. For example, the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
} @Override public byte[] getSessionKey() throws CIFSException { return this.handle.getSessionKey(); } /** * {@inheritDoc} * * @see jcifs.dcerpc.DcerpcHandle#doSendReceiveFragment(byte[], int, int, byte[]) */ @Override protected int doSendReceiveFragment(final byte[] buf, final int off, final int length, final byte[] inB) throws IOException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiation.java
* * @author mbechler */ public final class SmbNegotiation { private final SmbNegotiationRequest request; private final SmbNegotiationResponse response; private final byte[] negoReqBuffer; private final byte[] negoRespBuffer; /** * Constructs an SMB negotiation result. * * @param request the negotiation request * @param response the negotiation responseRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0)