Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2401 - 2410 of 2,768 for Add (0.01 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                Map<Object, Object> result = new HashMap<>();
                for (Object key : keys) {
                  Object value = new Object();
                  result.put(key, value);
                  // add extra entries
                  result.put(value, key);
                }
                return result;
              }
            };
        LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final List<T> bufferedList = new ArrayList<>(bulkBufferSize);
            final StringBuilder failureBuf = new StringBuilder(100);
            list.stream().forEach(target -> {
                bufferedList.add(target);
                if (bufferedList.size() >= bulkBufferSize) {
                    final BulkResponse response = doInsertAll(bufferedList, opType);
                    if (response.hasFailures()) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

          assertEquals(0, shutDownCalled);
          shutDownCalled++;
          assertEquals(State.STOPPING, state());
        }
    
        @Override
        protected Executor executor() {
          transitionStates.add(state());
          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                final TimeoutTask task = e.getElement();
                if (task.isCanceled()) {
                    e.remove();
                } else if (!task.isStopped() && task.isExpired()) {
                    expiredTask.add(task);
                    if (!task.isPermanent()) {
                        e.remove();
                    }
                }
            }
            return expiredTask;
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. utils/utils_test.go

    		{"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
    		{"driver.Valuer not equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now.Add(time.Second), Valid: true}, false},
    		{"driver.Valuer equal (ptr to nil ptr)", (*ModifyAt)(nil), &ModifyAt{}, false},
    	}
    	for _, test := range assertEqualTests {
    		t.Run(test.name, func(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/projects/StageProject.kt

                    val flakyTestQuarantineProjectTrigger = FlakyTestQuarantineTrigger(model, flakyTestQuarantineProject)
                    flakyTestQuarantineTriggers.add(flakyTestQuarantineProjectTrigger)
                    subProject(flakyTestQuarantineProject)
                    buildType(flakyTestQuarantineProjectTrigger)
                }
            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/dfs/Referral.java

                        for (int i = 0; i < numExpanded; i++) {
                            final String en = readString(buffer, start + expandedNameOffset, len);
                            names.add(en);
                            expandedNameOffset += en.length() * 2 + 2;
                        }
                        this.expandedNames = names.toArray(new String[names.size()]);
                    }
    
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/background-tasks.md

    L'opération d'écriture n'utilisant ni `async` ni `await`, on définit la fonction avec un `def` normal.
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    ## Ajouter une tâche d'arrière-plan { #add-the-background-task }
    
    Dans votre *fonction de chemin d'accès*, passez votre fonction de tâche à l'objet de type `BackgroundTasks` (`background_tasks` ici) grâce à la méthode `.add_task()` :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  9. internal/pubsub/pubsub.go

    	// We hold a lock, so we are safe to update
    	combined := Mask(atomic.LoadUint64(&ps.types))
    	combined.Merge(Mask(mask.Mask()))
    	atomic.StoreUint64(&ps.types, uint64(combined))
    	if wg != nil {
    		wg.Add(1)
    	}
    	go func() {
    		defer func() {
    			if wg != nil {
    				wg.Done()
    			}
    			// Clean up and de-register the subscriber
    			ps.Lock()
    			defer ps.Unlock()
    			var remainTypes Mask
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

        network.addNode(N1);
        network.addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        network.addEdge(N1, N2, E12);
        assertThat(networkForTest.edgesConnecting(N1, N2)).containsExactlyElementsIn(edgesConnecting);
      }
    
      @Test
      public void edgesConnecting_oneEdge() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 7.4K bytes
    - Click Count (0)
Back to Top