- Sort Score
- Num 10 results
- Language All
Results 2151 - 2160 of 2,557 for when (0.15 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
setFutureCompletionSuccess.set(false); cancellationSuccess.set(false); finalResults.clear(); } executor.shutdown(); } // Test to ensure that when calling setFuture with a done future only setFuture or cancel can // return true. public void testSetFutureCancelBash_withDoneFuture() { CyclicBarrier barrier = new CyclicBarrier(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
internal/config/notify/parse.go
} tgts, ok := ctx.Value(config.ContextKeyForTargetFromConfig).(map[string]bool) if !ok { tgts = make(map[string]bool) } for _, target := range targetList { if tgts[target.ID().ID] { // When target set should be online yes, err := target.IsActive() if err == nil && !yes { err = ErrTargetsOffline } if err != nil { return fmt.Errorf("error (%s): %w", target.ID(), err) } } else {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 47.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacTest.java
try (MockedStatic<PacMac> pacMacMock = mockStatic(PacMac.class)) { // Mock the calculateMac method to return a valid checksum byte[] mockChecksum = new byte[16]; pacMacMock.when(() -> PacMac.calculateMac(anyInt(), any(), any())).thenReturn(mockChecksum); // Create a minimal valid PAC structure ByteArrayOutputStream baos = new ByteArrayOutputStream();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
CREDITS
this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Mar 13 05:29:51 GMT 2025 - 1.8M bytes - Click Count (0) -
cmd/notification.go
peerChannels[index], err = sys.peerClients[index].GetPeerMetrics(ctx) return err }, index) } return sys.collectPeerMetrics(ctx, peerChannels, g) } // ServiceFreeze freezes all S3 API calls when 'freeze' is true, // 'freeze' is 'false' would resume all S3 API calls again. // NOTE: once a tenant is frozen either two things needs to // happen before resuming normal operations.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 46K bytes - Click Count (0) -
src/bytes/bytes_test.go
} } } } // test a small index across all page offsets func TestIndexByteSmall(t *testing.T) { b := make([]byte, 5015) // bigger than a page // Make sure we find the correct byte even when straddling a page. for i := 0; i <= len(b)-15; i++ { for j := 0; j < 15; j++ { b[i+j] = byte(100 + j) } for j := 0; j < 15; j++ { p := IndexByte(b[i:i+15], byte(100+j)) if p != j {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
} int num_retvals = 1; if (async) { // Enqueue dummy ops so we backlog async execution & actually test async. // This is usually unnecessary, but we've experienced the occasional test // failure when testing async mode with no explicit forwarding. for (int i = 0; i < 100000; ++i) { TFE_Op* add_op_dummy = AddOp(ctx, m, m); TFE_OpSetDevice(add_op_dummy, cpu_device_name.c_str(), status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
cmd/storage-rest-server.go
if volume == "" || filePath == "" { return // Ignore } keepHTTPResponseAlive(w)(s.getStorage().CleanAbandonedData(r.Context(), volume, filePath)) } // closeNotifier is itself a ReadCloser that will notify when either an error occurs or // the Close() function is called. type closeNotifier struct { rc io.ReadCloser done chan struct{} } func (c *closeNotifier) Read(p []byte) (n int, err error) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
android/guava/src/com/google/common/net/MediaType.java
* given value. If multiple parameters with the same attributes are necessary use {@link * #withParameters(String, Iterable)}. Prefer {@link #withCharset} for setting the {@code charset} * parameter when using a {@link Charset} object. * * @throws IllegalArgumentException if either {@code attribute} or {@code value} is invalid */ public MediaType withParameter(String attribute, String value) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
// depending on rag.chat.history.assistant.content mode (full, source_titles, // source_titles_and_urls, truncated, none). @Test public void test_buildIntentRequest_noneMode_userOnlyHistory() { // When mode=none, extractHistory skips assistant messages, // resulting in user-only history list final List<LlmMessage> history = new ArrayList<>(); history.add(LlmMessage.user("How to install Fess?"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0)