- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 513 for nlen (0.07 sec)
-
cmd/erasure-decode_test.go
t.Fatalf("failed to create ErasureStorage: %v", err) } // Prepare a slice of 5MiB with random data. data := make([]byte, 5*humanize.MiByte) length := int64(len(data)) _, err = rand.Read(data) if err != nil { t.Fatal(err) } writers := make([]io.Writer, len(disks)) for i, disk := range disks { if disk == nil { continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
if err != nil { f.Fatalf("failed to read testdata: %s", err) } f.Add(b) } f.Fuzz(func(t *testing.T, b []byte) { r, err := NewReader(bytes.NewReader(b), int64(len(b))) if err != nil { return } type file struct { header *FileHeader content []byte } files := []file{} for _, f := range r.File { fr, err := f.Open() if err != nil {Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
for tok != '\n' && tok != ';' { // Process one operand. var items []lex.Token if cap(operands) > len(operands) { // Reuse scratch items slice. items = operands[:cap(operands)][len(operands)][:0] } else { items = make([]lex.Token, 0, 3) } for { tok = p.nextToken() if len(operands) == 0 && len(items) == 0 {Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
dstIndex += 16; SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, bufferOffsetOffset); final int len = this.info.encode(dst, dstIndex); SMBUtil.writeInt4(len, dst, bufferLengthOffset); dstIndex += len; return dstIndex - start; } /** * {@inheritDoc} *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
ci/official/containers/ml_build_arm64/builder.devtoolset/gcc9-fixups.patch
index e966c03..22ab790 100644 --- a/locale/weightwc.h +++ b/locale/weightwc.h @@ -79,19 +79,19 @@ findidx (const wint_t **cpp, size_t len) if (cp[cnt] != usrc[cnt]) break; - if (cnt < nhere - 1) + if (cnt < nhere - 1 || cnt == len) { cp += 2 * nhere; continue; } - if (cp[nhere - 1] > usrc[nhere -1]) + if (cp[nhere - 1] > usrc[nhere - 1])
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Nov 11 19:25:56 UTC 2024 - 8.9K bytes - Viewed (0) -
cmd/bucket-replication-utils_test.go
t.Errorf("Test%d (%s): Expected parse error got %t , want %t", i+1, test.name, err, test.expErr) } continue } if len(dsc.targetsMap) != len(test.expDsc.targetsMap) { t.Errorf("Test%d (%s): Invalid number of entries in targetsMap got %d , want %d", i+1, test.name, len(dsc.targetsMap), len(test.expDsc.targetsMap)) } for arn, tdsc := range dsc.targetsMap { expDsc, ok := test.expDsc.targetsMap[arn]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java
return this.data; } /** * {@inheritDoc} * * @see Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; this.namedPipeState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
cmd/erasure-heal_test.go
} readers := make([]io.ReaderAt, len(disks)) for i, disk := range disks { shardFilesize := erasure.ShardFileSize(test.size) readers[i] = newBitrotReader(disk, nil, "testbucket", "testobject", shardFilesize, test.algorithm, bitrotWriterSum(writers[i]), erasure.ShardSize()) } // setup stale disks for the test case staleDisks := make([]StorageAPI, len(disks)) copy(staleDisks, disks)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
tests/associations_has_one_test.go
// Count AssertAssociationCount(t, users, "Account", 2, "") // Find var accounts []Account if DB.Model(&users).Association("Account").Find(&accounts); len(accounts) != 2 { t.Errorf("accounts count should be %v, but got %v", 3, len(accounts)) } // Append DB.Model(&users).Association("Account").Append( &Account{Number: "account-slice-append-1"}, &Account{Number: "account-slice-append-2"},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
* @param offset the index of the first {@code char} to append * @param len the number of {@code char}s to append * @return the current builder */ @Nonnull default MessageBuilder a(char[] value, int offset, int len) { return append(String.valueOf(value, offset, len)); } /** * Append content to the message buffer. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Nov 02 09:29:52 UTC 2024 - 7.6K bytes - Viewed (0)