- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 1,703 for byte (0.01 sec)
-
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test array bounds validation") void testArrayBounds() { byte[] src = new byte[100]; byte[] dst = new byte[100]; assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100)); assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 50, dst, 50, 50));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
cmd/bucket-stats_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBucketReplicationStat(t *testing.T) { v := BucketReplicationStat{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Aug 30 08:00:59 UTC 2023 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
// Verify security descriptor encoding verify(mockDeferredBuffer).enc_ndr_long(2); verify(mockDeferredBuffer).advance(2); verify(mockDeferredBuffer).enc_ndr_small((byte) 1); verify(mockDeferredBuffer).enc_ndr_small((byte) 2); } @Test void testShareInfoCtr0EncodeWithArray() throws NdrException { srvsvc.ShareInfoCtr0 ctr0 = new srvsvc.ShareInfoCtr0(); ctr0.count = 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
cmd/dummy-handlers.go
return } const accelerateDefaultConfig = `<?xml version="1.0" encoding="UTF-8"?><AccelerateConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"/>` writeSuccessResponseXML(w, []byte(accelerateDefaultConfig)) } // GetBucketRequestPaymentHandler - GET bucket requestPayment, a dummy api func (api objectAPIHandlers) GetBucketRequestPaymentHandler(w http.ResponseWriter, r *http.Request) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 13 15:25:16 UTC 2024 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
} } } /** * Converts an RPC sid_t structure to a byte array. * * @param sid the RPC sid_t structure to convert * @return byte array representation of the SID */ public static byte[] toByteArray(final rpc.sid_t sid) { final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4]; int di = 0; dst[di] = sid.revision;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; /** * Represents an NDR small integer (1 byte unsigned) for DCE/RPC communication. * This class encapsulates a single byte value (0-255) in NDR format. */ public class NdrSmall extends NdrObject { /** * The small integer value (0-255) */ public int value; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
cmd/jwt_test.go
b.Fatal(err) } b.ResetTimer() b.ReportAllocs() b.RunParallel(func(pb *testing.PB) { for pb.Next() { err = xjwt.ParseWithClaims(token, xjwt.NewMapClaims(), func(*xjwt.MapClaims) ([]byte, error) { return []byte(creds.SecretKey), nil }) if err != nil { b.Fatal(err) } } }) } func BenchmarkAuthenticateNode(b *testing.B) { ctx, cancel := context.WithCancel(b.Context())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Feb 17 01:15:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
final long original = 0x1122334455667788L; NdrHyper hyper = new NdrHyper(original); // Create buffer with extra space for alignment NdrBuffer buf = new NdrBuffer(new byte[16], 0); hyper.encode(buf); // Reset buffer position for decoding buf.reset(); NdrHyper decoded = new NdrHyper(0); decoded.decode(buf);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
throw new IORuntimeException(e); } } /** * Gets a byte array from an {@link InputStream}. * <p> * The input stream is not closed. * </p> * * @param is the input stream (must not be {@literal null}) * @return the byte array */ public static final byte[] getBytes(final InputStream is) { assertArgumentNotNull("is", is);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0)