- Sort Score
- Num 10 results
- Language All
Results 1171 - 1180 of 1,599 for 1byte (0.16 seconds)
-
cmd/auth-handler_test.go
// Short Content-Md5 header. {mustNewSignedShortMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest}, // When request is properly signed, but has bad Content-MD5 header. {mustNewSignedBadMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrBadDigest},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
cmd/erasure-multipart.go
var buffer []byte switch size := data.Size(); { case size == 0: buffer = make([]byte, 1) // Allocate at least a byte to reach EOF case size >= fi.Erasure.BlockSize || size == -1: if int64(globalBytePoolCap.Load().Width()) < fi.Erasure.BlockSize { buffer = make([]byte, fi.Erasure.BlockSize, 2*fi.Erasure.BlockSize) } else {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
cmd/object-api-datatypes.go
// ArchiveInfo returns any saved zip archive meta information. // It will be decrypted if needed. func (o *ObjectInfo) ArchiveInfo(h http.Header) []byte { if len(o.UserDefined) == 0 { return nil } z, ok := o.UserDefined[archiveInfoMetadataKey] if !ok { return nil } data := []byte(z) if v, ok := o.UserDefined[archiveTypeMetadataKey]; ok && v == archiveTypeEnc { decrypted, err := o.metadataDecrypter(h)(archiveTypeEnc, data)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
*/ public int getNextEntryOffset() { return this.nextEntryOffset; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
internal/ioutil/discard.go
// and as such incurred latencies. var Discard io.Writer = discard{} // discard is /dev/null for Golang. type discard struct{} func (discard) Write(p []byte) (int, error) { return len(p), nil } // DiscardReader discarded reader func DiscardReader(r io.Reader) { Copy(Discard, r)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 06 22:26:08 GMT 2023 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
// "Hello" encoded in standard Base64 final byte[] result = authenticator.decodeBase64("SGVsbG8="); assertEquals("Hello", new String(result)); } @Test public void test_decodeBase64_urlSafe() { // Base64 URL encoding (uses - and _ instead of + and /) final byte[] result = authenticator.decodeBase64("SGVsbG9Xb3JsZA");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 11K bytes - Click Count (0) -
src/main/java/jcifs/SmbTransportPool.java
* @deprecated functionality is broken and will be removed at some point, * use actual Active Directory authentication instead */ @Deprecated byte[] getChallenge(CIFSContext tc, Address dc) throws CIFSException; /** * Get NTLM challenge from a server * * @param dc the domain controller address * @param port the port numberCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
try { final MessageDigest md = MessageDigest.getInstance("SHA-256"); final byte[] hash = md.digest(input.getBytes(StandardCharsets.UTF_8)); final StringBuilder sb = new StringBuilder(); for (final byte b : hash) { sb.append(String.format("%02x", b)); } return sb.toString();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux_test.go
/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2 /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3 ` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts") if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil { t.Fatal(err) } // Failure case where we detected successfully cross device mounts. { absPaths := []string{"/path/to/1"}Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrHyper.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; /** * NDR representation of a hyper integer (8-byte signed integer). */ public class NdrHyper extends NdrObject { /** * The hyper integer value. */ public long value; /** * Constructs an NdrHyper with the specified value.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0)