- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,458 for BytesX (0.07 seconds)
-
src/test/java/jcifs/spnego/NegTokenTargTest.java
NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic); // Act – serialise and parse back byte[] bytes = original.toByteArray(); NegTokenTarg roundTrip = new NegTokenTarg(bytes); // Assert – all getters match the original values assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
* context and count, and leaving (buffering) the remaining bytes in buffer * for the next update or finish. * * @param input input block * @param offset start of meaningful bytes in input * @param len count of bytes in input block to consider */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
} private static byte[] toByteArray(int... bytes) { byte[] realBytes = new byte[bytes.length]; for (int i = 0; i < bytes.length; i++) { realBytes[i] = (byte) bytes[i]; } return realBytes; } private static void assertWellFormed(int... bytes) { assertTrue(Utf8.isWellFormed(toByteArray(bytes))); } private static void assertNotWellFormed(int... bytes) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 12.9K bytes - Click Count (0) -
schema/serializer.go
fieldValue := reflect.New(field.FieldType) if dbValue != nil { var bytes []byte switch v := dbValue.(type) { case []byte: bytes = v case string: bytes = []byte(v) default: bytes, err = json.Marshal(v) if err != nil { return err } } if len(bytes) > 0 { err = json.Unmarshal(bytes, fieldValue.Interface()) } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:29:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
// InterfaceIndex (4 bytes) bb.putInt(interfaceIndex); // Capability (4 bytes) bb.putInt(capability); // Reserved (4 bytes) - must be 0 bb.putInt(0); // LinkSpeed (8 bytes) - in bits per second bb.putLong((long) linkSpeed * 1000000L); // SockAddr_Storage (128 bytes) encodeSockaddr(buffer, 24); return buffer;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 9.8K bytes - Click Count (0) -
cmd/bucket-replication-metrics_gen.go
z.Curr.Count, err = dc.ReadFloat64() if err != nil { err = msgp.WrapError(err, "Curr", "Count") return } case "Bytes": z.Curr.Bytes, err = dc.ReadFloat64() if err != nil { err = msgp.WrapError(err, "Curr", "Bytes") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err, "Curr") return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33.3K bytes - Click Count (0) -
internal/grid/types_test.go
b.Fatal(err) } } } func TestMarshalUnmarshalBytes(t *testing.T) { v := Bytes([]byte("abc123123123")) bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } var v2 Bytes left, err := v2.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) != 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.6K bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial005.py
import importlib import pytest from fastapi.testclient import TestClient from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial005_py310", marks=needs_py310), pytest.param("tutorial005_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
* except using little-endian byte order. * * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in * little-endian byte order * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue // to skip some bytes @Override public int readUnsignedShort() throws IOException { byte b1 = readAndCheckByte();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java
} /** * Get preferred send size * * @return preferred send size in bytes */ public int getPreferredSendSize() { return preferredSendSize; } /** * Set preferred send size * * @param preferredSendSize preferred send size in bytes */ public void setPreferredSendSize(int preferredSendSize) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4K bytes - Click Count (0)