- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 2,461 for Case (0.12 sec)
-
src/cmd/cgo/ast_go118.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Nov 30 21:45:10 UTC 2022 - 730 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
@Throws(IOException::class) fun parse(responseHeaders: Headers): WebSocketExtensions { // Note that this code does case-insensitive comparisons, even though the spec doesn't specify // whether extension tokens and parameters are case-insensitive or not. var compressionEnabled = false var clientMaxWindowBits: Int? = null var clientNoContextTakeover = false
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
internal/grid/connection_test.go
h2 := StreamHandler{ Handle: func(ctx context.Context, payload []byte, request <-chan []byte, resp chan<- []byte) *RemoteErr { gotCall <- struct{}{} select { case <-ctx.Done(): gotCall <- struct{}{} case <-cleanReqs: panic("should not be called") } return nil }, OutCapacity: 1, InCapacity: 1, } errFatal(remote.RegisterSingleHandler(handlerTest, h1))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 08 21:44:00 UTC 2024 - 5.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) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals(42, problem.getLineNumber()); problem = new DefaultProblem(null, null, null, Integer.MAX_VALUE, -1, null); assertEquals(Integer.MAX_VALUE, problem.getLineNumber()); // this case is not specified, might also return -1 problem = new DefaultProblem(null, null, null, Integer.MIN_VALUE, -1, null); assertEquals(Integer.MIN_VALUE, problem.getLineNumber()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
/** * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable * graph implementations, this method should replace {@link #network} with a new graph that * includes this node. */ abstract void addNode(Integer n); /** * A proxy method that adds the edge {@code e} to the graph being tested. In case of Immutable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0) -
src/archive/tar/reader_test.go
var s1, s2 string switch j { case 0: tr = NewReader(&reader{strings.NewReader(v.input)}) s1, s2 = "io.Reader", "auto" case 1: tr = NewReader(&reader{strings.NewReader(v.input)}) s1, s2 = "io.Reader", "manual" case 2: tr = NewReader(&readSeeker{strings.NewReader(v.input)}) s1, s2 = "io.ReadSeeker", "auto" case 3: tr = NewReader(&readSeeker{strings.NewReader(v.input)})
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 14.4K bytes - Viewed (0) -
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) -
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)