Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 461 for keep1 (0.36 seconds)

  1. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * AsyncFunction.apply}. Any heavyweight operations should occur in other threads responsible for
       * completing the returned {@code Future}.)
       *
       * <p>The returned {@code Future} attempts to keep its cancellation state in sync with that of the
       * input future and that of the future returned by the chain function. That is, if the returned
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

            session.addUserMessage("User 2");
            session.addAssistantMessage("Assistant 2");
    
            // maxMessages=1 starts at index 3 (Assistant 2) -> go back to index 2 (User 2)
            // Result should keep the last user/assistant pair
            session.trimHistory(1);
    
            final List<ChatMessage> messages = session.getMessages();
            assertEquals(2, messages.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. tests/prepared_stmt_test.go

    	createTx := DB.Session(&gorm.Session{}).Create(&user)
    	if createTx.Error != nil {
    		t.Fatalf("failed to prepare record due to %s, test cannot be continue", createTx.Error)
    	}
    
    	// create a new connection to keep away from other tests
    	tx, err := OpenTestConnection(&gorm.Config{PrepareStmt: true})
    	if err != nil {
    		t.Fatalf("failed to open test connection due to %s", err)
    	}
    	pdb, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CompactHashMap.java

       * values.length) are all {@code null}.
       */
      @VisibleForTesting transient @Nullable Object @Nullable [] values;
    
      /**
       * Keeps track of metadata like the number of hash table bits and modifications of this data
       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
     * leaks, by ensuring that objects are no longer strongly referenced:
     *
     * {@snippet :
     * // Helper function keeps victim stack-unreachable.
     * private WeakReference<Foo> fooWeakRef() {
     *   Foo x = ....;
     *   WeakReference<Foo> weakRef = new WeakReference<>(x);
     *   // ... use x ...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

        }
    
        /**
         * Helper: Create a web crawler config
         */
        private static void createWebConfig() {
            final Map<String, Object> requestBody = new HashMap<>();
            // Keep original external URL for stable test results
            final String urls = "https://www.codelibs.org/";
            final String includedUrls = "https://www.codelibs.org/.*";
            requestBody.put("name", NAME_PREFIX + "WebConfig");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. okhttp/build.gradle.kts

    // Work around issue 8826, where the Sentry SDK assumes that OkHttp's internal-visibility symbols
    // will be suffixed '$okhttp' in deployable artifacts. This isn't intended to be a published API,
    // but it's easy enough for us to keep it working. https://github.com/square/okhttp/issues/8826
    tasks.withType<KotlinCompile> {
      compilerOptions {
        freeCompilerArgs.addAll("-module-name=okhttp", "-Xexpect-actual-classes")
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       *
       * <p>Note: in principle this should never need to be used, but it might be useful if the
       * semantics of an implementation disagree in unforeseen ways with the semantics expected by a
       * test, or to keep dependent builds clean in spite of an erroneous test.
       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
        return suppressing(asList(methods));
      }
    
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Stopwatch.java

     * behavior of the stopwatch.
     *
     * <p><b>Note:</b> This class is not thread-safe.
     *
     * <p><b>Warning for Android users:</b> a stopwatch with default behavior may not continue to keep
     * time while the device is asleep. Instead, create one like this:
     *
     * {@snippet :
     * Stopwatch.createStarted(
     *      new Ticker() {
     *        public long read() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                    new PropertiesAsMap(getMavenProject(project).getProperties()));
        }
    
        @Override
        @Nonnull
        public Optional<Project> getExecutionProject(@Nonnull Project project) {
            // Session keep tracks of the Project per project id,
            // so we cannot use session.getProject(p) for forked projects
            // which are temporary clones
            return Optional.ofNullable(getMavenProject(project).getExecutionProject())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top