- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 2,497 for Case (0.05 seconds)
-
android/guava/src/com/google/common/net/HostSpecifier.java
* the License. */ package com.google.common.net; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Preconditions; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.net.InetAddress; import java.text.ParseException; import org.jspecify.annotations.Nullable; /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0) -
internal/s3select/jstream/scanner_test.go
} }) } func benchmarkBufioReader(b []byte) { br := bufio.NewReader(bytes.NewReader(b)) loop: for { _, err := br.ReadByte() switch err { case nil: continue loop case io.EOF: break loop default: panic(err) } } } func BenchmarkScanner(b *testing.B) { b.Run("small", func(b *testing.B) { for b.Loop() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
internal/grid/handlers.go
for { select { case <-ctx.Done(): return case v, ok := <-in: if !ok { return } input := h.NewRequest() _, err := input.UnmarshalMsg(v) if err != nil { gridLogOnceIf(ctx, err, err.Error()) } PutByteBuffer(v) // Send input select { case <-ctx.Done(): returnCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 27.7K bytes - Click Count (0) -
internal/s3select/csv/reader.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
internal/event/targetlist.go
} }(id, target) } wg.Wait() list.totalEvents.Add(1) } func (list *TargetList) sendAsync(event Event, targetIDset TargetIDSet) { select { case list.queue <- asyncEvent{ ev: event, targetSet: targetIDset.Clone(), }: case <-list.ctx.Done(): list.eventsSkipped.Add(int64(len(list.queue))) return default: list.eventsSkipped.Add(1)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 9.2K bytes - Click Count (0) -
internal/grid/README.md
fmt.Println("Subroute:", GetSubroute(ctx)) for { select { case <-ctx.Done(): return nil case req, ok := <-in: if !ok { break } // Do something with payload out <- []byte("response")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
cmd/endpoint_test.go
} for i, test := range testCases { t.Run(fmt.Sprint("case-", i), func(t *testing.T) { endpoint, err := NewEndpoint(test.arg) if err == nil { err = endpoint.UpdateIsLocal() } switch { case test.expectedErr == nil: if err != nil { t.Errorf("error: expected = <nil>, got = %v", err) } case err == nil: t.Errorf("error: expected = %v, got = <nil>", test.expectedErr)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
switch (getFormatType(request)) { case SEARCH: processSearchRequest(request, response, chain); break; case LABEL: processLabelRequest(request, response, chain); break; case POPULARWORD: processPopularWordRequest(request, response, chain); break; case FAVORITE:
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 55.4K bytes - Click Count (1) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
*/ @Test void testIsCredentialTypeCorrectWithNullData() { // The constructor check `if (!isCredentialTypeCorrect())` handles the null case. // We verify that the constructor throws an exception, which indirectly tests the desired logic. assertThrows(PACDecodingException.class, () -> new PacCredentialType(null)); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
When doing so, still annotate nullable parameters and the return type as `@Nullable`. * Do not use `@Contract` for public APIs. * For polynull public APIs, the solution has to be decided on a case-by-case basis. Do not remove `null` checks on public API boundaries, even if the annotations (or rather lack of them) suggest this. Not all client code is compiled with NullAway.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 10:24:40 GMT 2025 - 4K bytes - Click Count (0)