- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 1,280 for Byte (0.04 sec)
-
docs/debugging/inspect/utils.go
import ( "crypto/rsa" "crypto/x509" "encoding/base64" "encoding/pem" "log" ) func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) { // Try PEM if block, _ := pem.Decode(priv); block != nil { return x509.ParsePKCS1PrivateKey(block.Bytes) } // Try base 64 dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv))) if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 02 20:36:38 UTC 2022 - 1.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0) -
cmd/ftp-server-driver.go
return len(ldapPolicies) > 0, nil } return subtle.ConstantTimeCompare([]byte(sa.Credentials.SecretKey), []byte(password)) == 1, nil } ui, ok := globalIAMSys.GetUser(context.Background(), username) if !ok { return false, nil } return subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), []byte(password)) == 1, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
func (z *Int) doinit() { if z.init { return } z.init = true C.mpz_init(&z.i[0]) } // Bytes returns z's representation as a big-endian byte array. func (z *Int) Bytes() []byte { b := make([]byte, (z.Len()+7)/8) n := C.size_t(len(b)) C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0]) return b[0:n] }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
cmd/perf-tests.go
return io.LimitReader(randreader.New(), int64(size)) } type firstByteRecorder struct { t *time.Time r io.Reader } func (f *firstByteRecorder) Read(p []byte) (n int, err error) { if f.t != nil || len(p) == 0 { return f.r.Read(p) } // Read a single byte. n, err = f.r.Read(p[:1]) if n > 0 { t := time.Now() f.t = &t } return n, err } // Runs the speedtest on local MinIO process.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UUID.java
int ai = arr.length; while (ai-- > 0) { arr[ai] = HEXCHARS[value & 0xF]; value >>>= 4; } return new String(arr); } private static byte B(int i) { return (byte)(i & 0xFF); } private static short S(int i) { return (short)(i & 0xFFFF); } public UUID(rpc.uuid_t uuid) { time_low = uuid.time_low; time_mid = uuid.time_mid;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.1K bytes - Viewed (0) -
internal/s3select/progress.go
reader io.Reader bytesRead int64 } // Max bzip2 concurrency across calls. 50% of GOMAXPROCS. var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2) func (r *countUpReader) Read(p []byte) (n int, err error) { n, err = r.reader.Read(p) atomic.AddInt64(&r.bytesRead, int64(n)) return n, err } func (r *countUpReader) BytesRead() int64 { if r == nil { return 0 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java
public long getFree () { return this.free * this.sectPerAlloc * this.bytesPerSect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { int start = bufferIndex; bufferIndex += 4; // skip idFileSystem
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvTargetName.java
public class AvTargetName extends AvPair { /** * */ private static final Charset UTF16LE = StandardCharsets.UTF_16LE; /** * @param raw */ public AvTargetName ( byte[] raw ) { super(AvPair.MsvAvTargetName, raw); } /** * * @param targetName */ public AvTargetName ( String targetName ) { this(encode(targetName)); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
cmd/xl-storage-free-version_test.go
// Test if free version is created when SkipTier wasn't set on fi j := xlMetaV2Object{} j.MetaSys = make(map[string][]byte) j.MetaSys[metaTierName] = []byte("WARM-1") j.MetaSys[metaTierStatus] = []byte(lifecycle.TransitionComplete) j.MetaSys[metaTierObjName] = []byte("obj-1") if _, ok := j.InitFreeVersion(fi); !ok { t.Fatal("Expected a free version to be created") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 7.8K bytes - Viewed (0)