- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 968 for plen (0.03 sec)
-
src/bufio/scan_test.go
s := NewScanner(buf) s.Split(ScanBytes) var i int for i = 0; s.Scan(); i++ { if b := s.Bytes(); len(b) != 1 || b[0] != test[i] { t.Errorf("#%d: %d: expected %q got %q", n, i, test, b) } } if i != len(test) { t.Errorf("#%d: termination expected at %d; got %d", n, len(test), i) } err := s.Err() if err != nil { t.Errorf("#%d: %v", n, err) } } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
cmd/object-api-datatypes_gen.go
s = 3 + 5 + msgp.StringPrefixSize + len(z.Name) + 7 + msgp.StringPrefixSize + len(z.Bucket) + 10 + msgp.StringPrefixSize + len(z.VersionID) + 5 + msgp.StringPrefixSize + len(z.ETag) + 5 + msgp.Int64Size + 11 + msgp.Int64Size + 8 + msgp.TimeSize + 9 + msgp.StringPrefixSize + len(z.UserTags) + 5 + msgp.BoolSize + 18 + z.ReplicationStatus.Msgsize() + 26 + msgp.StringPrefixSize + len(z.ReplicationStatusInternal) + 27 + msgp.StringPrefixSize + len(z.VersionPurgeStatusInternal)...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
} /** * Reads up to len bytes of data from this input stream into an array of bytes. * * @throws IOException if a network error occurs */ public int read( byte[] b, int off, int len ) throws IOException { return readDirect(b, off, len); } public int readDirect( byte[] b, int off, int len ) throws IOException { if( len <= 0 ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractHasher.java
return putBytes(bytes, 0, bytes.length); } @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes, int off, int len) { Preconditions.checkPositionIndexes(off, off + len, bytes.length); for (int i = 0; i < len; i++) { putByte(bytes[off + i]); } return this; } @Override @CanIgnoreReturnValue public Hasher putBytes(ByteBuffer b) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
for i, ver := range vers { newVers := make([]xlMetaV2ShallowVersion, 0, len(ver)) for _, v := range ver { v.header.Flags += xlFlags(i + 10) newVers = append(newVers, v) } vMod = append(vMod, newVers) } merged := mergeXLV2Versions(i, true, 0, vMod...) if len(merged) == 0 && i < 2 { t.Error("Did not get any results") return } if len(merged) > 0 && i >= 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
SocketOutputStream( OutputStream out ) { super( out ); } public synchronized void write( byte[] b, int off, int len ) throws IOException { if( len > 0xFFFF ) { throw new IOException( "write too large: " + len ); } else if( off < 4 ) { throw new IOException( "NetBIOS socket output buffer requires 4 bytes available before off" ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.7K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
if e.Not { matchResult = !matchResult } return FromBool(matchResult), nil } func (e *ListExpr) evalNode(r Record, tableAlias string) (*Value, error) { res := make([]Value, len(e.Elements)) if len(e.Elements) == 1 { // If length 1, treat as single value. return e.Elements[0].evalNode(r, tableAlias) } for i, elt := range e.Elements { v, err := elt.evalNode(r, tableAlias) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0) -
schema/relationship.go
return } } else { reguessOrErr() return } } case len(primaryFields) == 0: if len(foreignFields) == 1 && primarySchema.PrioritizedPrimaryField != nil { primaryFields = append(primaryFields, primarySchema.PrioritizedPrimaryField) } else if len(primarySchema.PrimaryFields) == len(foreignFields) { primaryFields = append(primaryFields, primarySchema.PrimaryFields...) } else {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 22.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} } } private static String mikeRepeat(String string, int count) { final int len = string.length(); char[] strCopy = new char[len * Integer.highestOneBit(count)]; string.getChars(0, len, strCopy, 0); char[] array = new char[len * count]; int strCopyLen = len; int pos = 0; while (count != 0) { if ((count & 1) != 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
internal/store/queuestore_test.go
keys := store.List() if len(keys) != 10 { t.Fatalf("List() Expected: 10, got %d", len(keys)) } // re-open store, err = setUpQueueStore(queueDir, 10) if err != nil { t.Fatal("Failed to create a queue store ", err) } keys = store.List() if len(keys) != 10 { t.Fatalf("List() Expected: 10, got %d", len(keys)) } if len(keys) != store.Len() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.7K bytes - Viewed (0)