- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for duplicates (0.1 sec)
-
internal/hash/checksum.go
var res *Checksum for _, header := range trailing { var duplicates bool switch { case strings.EqualFold(header, ChecksumCRC32C.Key()): duplicates = res != nil res = NewChecksumWithType(ChecksumCRC32C|ChecksumTrailing, "") case strings.EqualFold(header, ChecksumCRC32.Key()): duplicates = res != nil res = NewChecksumWithType(ChecksumCRC32|ChecksumTrailing, "")
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/object-api-options_test.go
xhttp.AmzObjectAttributes: []string{"test1,test2"}, }, wantObjectAttrs: map[string]struct{}{ "test1": {}, "test2": {}, }, }, { name: "multiple header lines with some duplicates", headers: http.Header{ xhttp.AmzObjectAttributes: []string{"test1,test2", "test3,test4", "test4,test3"}, }, wantObjectAttrs: map[string]struct{}{ "test1": {}, "test2": {}, "test3": {}, "test4": {},
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
* `frozenset`: * In requests and responses, treated the same as a `set`: * In requests, a list will be read, eliminating duplicates and converting it to a `set`. * In responses, the `set` will be converted to a `list`. * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`). * `bytes`:
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
name string args args want []string }{ { name: "No duplicates", args: args{ports: []string{"1234", "2345"}}, want: []string{"1234", "2345"}, }, { name: "Sequential Duplicates", args: args{ports: []string{"1234", "1234", "2345", "2345"}}, want: []string{"1234", "2345"}, }, { name: "Mixed Duplicates", args: args{ports: []string{"1234", "2345", "1234", "2345"}},
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
try (FileReader reader = new FileReader(file)) { List<UpgradedProperty> upgradedProperties = new Gson().fromJson(reader, new TypeToken<List<UpgradedProperty>>() {}.getType()); // FIXME There should be no duplicates, yet there are some return upgradedProperties.stream() .distinct() .collect(ImmutableList.toImmutableList()); } catch (IOException e) {
Registered: Wed Oct 30 11:36:09 UTC 2024 - Last Modified: Wed Oct 02 14:20:08 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
```Python hl_lines="1 14" {!> ../../docs_src/body_nested_models/tutorial003.py!} ``` //// With this, even if you receive a request with duplicate data, it will be converted to a set of unique items. And whenever you output that data, even if the source had duplicates, it will be output as a set of unique items. And it will be annotated / documented accordingly too. ## Nested Models
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0) -
internal/logger/logger.go
if l <= 1 { return l } for i := 1; i < l; i++ { if !data.Less(p, i) { continue } p++ if p < i { data.Swap(p, i) } } return p + 1 } // Remove any duplicates and return unique entries. func uniqueEntries(paths []string) []string { sort.Strings(paths) n := uniq(sort.StringSlice(paths)) return paths[:n] } // Init sets the trimStrings to possible GOPATHs
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
configure.py
# maximum performance should compile TF in their environment and can pass # `-march=native` there. # See https://github.com/tensorflow/tensorflow/issues/45744 and duplicates default_cc_opt_flags = '-Wno-sign-compare' question = ('Please specify optimization flags to use during compilation when' ' bazel option "--config=opt" is specified [Default is %s]: '
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 48.2K bytes - Viewed (1) -
src/cmd/asm/internal/asm/parse.go
hi := lo if p.peek() == '-' { p.next() hi = p.registerNumber(p.next().String()) } if hi < lo { lo, hi = hi, lo } // Check there are no duplicates in the register list. for i := 0; lo <= hi && i < maxReg; i++ { if bits&(1<<lo) != 0 { p.errorf("register R%d already in list", lo) } bits |= 1 << lo lo++ } default:
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 36.9K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
break } } if requestedVersions > 0 && requestedVersions == nVersions { merged = append(merged, versions[0]...) break } } // Sanity check. Enable if duplicates show up. if false { found := make(map[[16]byte]struct{}) for _, ver := range merged { if _, ok := found[ver.header.VersionID]; ok { panic("found dupe") }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (0)