- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,449 for CASE (0.02 sec)
-
cmd/erasure-metadata-utils.go
continue } errorCounts[err]++ } max := 0 for err, count := range errorCounts { switch { case max < count: max = count maxErr = err // Prefer `nil` over other error values with the same // number of occurrences. case max == count && err == nil: maxErr = err } } return max, maxErr }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.7K bytes - Viewed (0) -
dockerscripts/download-static-curl.sh
#!/bin/bash function download_arch_specific_executable { curl -f -L -s -q \ https://github.com/moparisthebest/static-curl/releases/latest/download/curl-$1 \ -o /go/bin/curl || exit 1 chmod +x /go/bin/curl } case $TARGETARCH in "arm64") download_arch_specific_executable aarch64 ;; "s390x") echo "Not downloading static cURL because it does not exist for the $TARGETARCH architecture." ;; *)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 15:45:19 UTC 2024 - 461 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
if (cmp < 0) { return aggregateBelowRange(aggr, node.left); } else if (cmp == 0) { switch (range.getLowerBoundType()) { case OPEN: return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left); case CLOSED: return aggr.treeAggregate(node.left); } throw new AssertionError(); } else { return aggr.treeAggregate(node.left)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.1K bytes - Viewed (0) -
tests/count_test.go
t.Errorf("count with join, got error: %v, count %v", err, count) } var count6 int64 if err := DB.Model(&User{}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Select( "(CASE WHEN name=? THEN ? ELSE ? END) as name", "count-1", "main", "other", ).Count(&count6).Find(&users).Error; err != nil || count6 != 3 { t.Fatalf(fmt.Sprintf("Count should work, but got err %v", err)) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
internal/config/notify/parse.go
} case config.NotifyNSQSubSys: nsqTargets, err := GetNotifyNSQ(cfg[config.NotifyNSQSubSys]) if err != nil { return nil, err } for id, args := range nsqTargets { if !args.Enable { continue } t, err := target.NewNSQTarget(id, args, logOnceIf) if err != nil { return nil, err } targets = append(targets, t) } case config.NotifyPostgresSubSys:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 47K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
} ri += len; } return null; } public byte[] initSecContext(byte[] token, int offset, int len) throws SmbException { switch (state) { case 1: Type1Message msg1 = new Type1Message(ntlmsspFlags, auth.getDomain(), workstation); token = msg1.toByteArray(); if (log.level >= 4) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.9K bytes - Viewed (0) -
cmd/tier_gen.go
err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "Tiers": var zb0002 uint32 zb0002, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err, "Tiers") return } if z.Tiers == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
try { switch( resolveOrder[i] ) { case RESOLVER_LMHOSTS: if(( addr = Lmhosts.getByName( hostname )) == null ) { continue; } break; case RESOLVER_WINS: if( hostname == NbtAddress.MASTER_BROWSER_NAME ||
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 16.2K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// the chunk size to be of variable width. In particular, // a size of 16 is encoded as `10` while a size of 64 KB // is `10000`. switch { case b >= '0' && b <= '9': size = size<<4 | int(b-'0') case b >= 'a' && b <= 'f': size = size<<4 | int(b-('a'-10)) case b >= 'A' && b <= 'F': size = size<<4 | int(b-('A'-10)) default: cr.err = errMalformedEncoding return n, cr.err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial002.py
names. Should be called only after all routes have been added. """ for route in app.routes: if isinstance(route, APIRoute): route.operation_id = route.name # in this case, 'read_items'
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 572 bytes - Viewed (0)