- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 1,517 for byteEq (0.06 sec)
-
src/test/java/jcifs/tests/RandomAccessFileTest.java
raf.write(new byte[] { 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8 }); raf.seek(0); assertEquals(0, raf.getFilePointer()); byte[] buf = new byte[4]; raf.readFully(buf); assertArrayEquals(new byte[] { 0x1, 0x2, 0x3, 0x4 }, buf);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0) -
tests/test_compat.py
# For coverage # TODO: in theory this would allow declaring types that could be lists of bytes # to be read from files and other types, but I'm not even sure it's a good idea # to support it as a first class "feature" assert is_bytes_sequence_annotation(Union[List[str], List[bytes]]) def test_is_uploadfile_sequence_annotation(): # For coverage
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Sep 11 07:45:30 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
private enum HashMethod { MESSAGE_DIGEST_API() { @Override public byte[] hash(Algorithm algorithm, byte[] input) { MessageDigest md = algorithm.getMessageDigest(); md.update(input); return md.digest(); } }, HASH_FUNCTION_DIRECT() { @Override public byte[] hash(Algorithm algorithm, byte[] input) { return algorithm.getHashFunction().hashBytes(input).asBytes(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
private enum HashMethod { MESSAGE_DIGEST_API() { @Override public byte[] hash(Algorithm algorithm, byte[] input) { MessageDigest md = algorithm.getMessageDigest(); md.update(input); return md.digest(); } }, HASH_FUNCTION_DIRECT() { @Override public byte[] hash(Algorithm algorithm, byte[] input) { return algorithm.getHashFunction().hashBytes(input).asBytes(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
public static int enc_uint16be ( short s, byte[] dst, int di ) { dst[ di++ ] = (byte) ( ( s >> 8 ) & 0xFF ); dst[ di ] = (byte) ( s & 0xFF ); return 2; } public static int enc_uint32be ( int i, byte[] dst, int di ) { dst[ di++ ] = (byte) ( ( i >> 24 ) & 0xFF ); dst[ di++ ] = (byte) ( ( i >> 16 ) & 0xFF ); dst[ di++ ] = (byte) ( ( i >> 8 ) & 0xFF );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11K bytes - Viewed (0) -
docs/auditlog/auditlog-echo.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bytes" "encoding/json" "flag" "fmt" "io" "log" "net/http" ) var port int func init() { flag.IntVar(&port, "port", 8080, "Port to listen on") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt
var length: Long = -1L, val bytes: ByteString, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + tagClass result = 31 * result + tag.toInt() result = 31 * result + (if (constructed) 0 else 1) result = 31 * result + length.toInt() result = 31 * result + bytes.hashCode() return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8; private byte expectInfoType; private byte expectInfoClass; private Decodable info; /** * @param config * @param expectInfoType * @param expectInfoClass */ public Smb2QueryInfoResponse ( Configuration config, byte expectInfoType, byte expectInfoClass ) { super(config); this.expectInfoType = expectInfoType;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
*/ public abstract class NtlmMessage implements NtlmFlags { /** * The NTLMSSP "preamble". */ protected static final byte[] NTLMSSP_SIGNATURE = new byte[] { (byte) 'N', (byte) 'T', (byte) 'L', (byte) 'M', (byte) 'S', (byte) 'S', (byte) 'P', (byte) 0 }; private static final String OEM_ENCODING = Config.DEFAULT_OEM_ENCODING; protected static final String UNI_ENCODING = "UTF-16LE";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0)