- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for sliced (0.12 sec)
-
src/bytes/bytes.go
} // Compare returns an integer comparing two byte slices lexicographically. // The result will be 0 if a == b, -1 if a < b, and +1 if a > b. // A nil argument is equivalent to an empty slice. func Compare(a, b []byte) int { return bytealg.Compare(a, b) } // explode splits s into a slice of UTF-8 sequences, one per Unicode code point (still slices of bytes), // up to a maximum of n byte slices. Invalid UTF-8 sequences are chopped into individual bytes.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
class EncodableTest { // Generates a few representative slices and destination indices. static Stream<Arguments> byteEncodableArgs() { return Stream.of( // srcLen, off, len, dstIndex Arguments.of(makeSeq(8), 0, 8, 0), // full copy at index 0 Arguments.of(makeSeq(10), 2, 5, 3), // middle slice, non-zero dst index
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
} // shuffleCheckParts - shuffle CheckParts slice depending on the // erasure distribution. func shuffleCheckParts(parts []int, distribution []int) []int { return shuffleWithDist[int](parts, distribution) } // shuffleDisks - shuffle input disks slice depending on the // erasure distribution. Return shuffled slice of disks with // their expected distribution.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "slices" "sort" "testing" "time" "github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) func Test_hashDeterministicString(t *testing.T) { tests := []struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/peer-s3-client.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "fmt" "slices" "sort" "strconv" "sync/atomic" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/grid" "github.com/minio/pkg/v3/sync/errgroup" )
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
assertFalse(empty.isSupported(null)); assertEquals("", empty.getNetbiosName(), "supports empty NetBIOS name"); } } @Nested @DisplayName("Parameterized initSecContext slices") class ParameterizedInit { static Stream<Arguments> validRanges() { byte[] src = new byte[] { 0, 1, 2, 3 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
schema/schema.go
} return fmt.Sprintf("%s.%s", schema.ModelType.PkgPath(), schema.ModelType.Name()) } func (schema *Schema) MakeSlice() reflect.Value { slice := reflect.MakeSlice(reflect.SliceOf(reflect.PointerTo(schema.ModelType)), 0, 20) results := reflect.New(slice.Type()) results.Elem().Set(slice) return results } func (schema *Schema) LookUpField(name string) *Field { if field, ok := schema.FieldsByDBName[name]; ok {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 19 06:35:49 UTC 2025 - 12.9K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
setCounts = append(setCounts, setCount) } // Not necessarily needed but it ensures to the readers // eyes that we prefer a sorted setCount slice for the // subsequent function to figure out the right common // divisor, it avoids loops. slices.Sort(setCounts) return setCounts } // getSetIndexes returns list of indexes which provides the set size
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/json" "errors" "fmt" "io" "os" "slices" "sort" "strings" "sync" "time" "github.com/dustin/go-humanize" "github.com/minio/madmin-go/v3" "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio/internal/config"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.5K bytes - Viewed (0) -
cmd/data-scanner_test.go
*/ lrObjInfos := slices.Clone(objInfos) lrObjInfos[3].UserDefined = objRetentionMeta var lrWants []ObjectInfo lrWants = append(lrWants, lrObjInfos[:4]...) /* replObjInfos: objInfos with following modifications version stack for obj-1 v1 uuid-1 modTime -4m "VersionPurgeStatus: replication.VersionPurgePending" */ replObjInfos := slices.Clone(objInfos)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0)