Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,750 for result (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(future, callback, directExecutor());
        future.set(result);
        assertEquals(result, future.get());
        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testOnSuccessThrowsError() throws Exception {
        SomeError error = new SomeError();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

       * Runnable}, and arrange that {@code get} will return the given result on successful completion.
       *
       * @param runnable the runnable task
       * @param result the result to return on successful completion. If you don't need a particular
       *     result, consider using constructions of the form: {@code ListenableFuture<?> f =
       *     ListenableFutureTask.create(runnable, null)}
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            Thread thread1 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            Thread thread2 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            thread1.start();
            thread2.start();
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            for (String cron : potentiallyValidCrons) {
                boolean result = validator.isValid(cron, context);
                // Don't assert true/false here, just test that method doesn't throw
                assertNotNull("Validation should return a boolean result for: " + cron, Boolean.valueOf(result));
            }
        }
    
        // Test edge cases to understand the validation behavior
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

                this.partialResults = partialResults;
                return this;
            }
    
            /**
             * Adds a document to the search result.
             *
             * @param doc The document to add to the result list
             * @return This builder instance for method chaining
             */
            public SearchResultBuilder addDocument(final Map<String, Object> doc) {
                documentList.add(doc);
                return this;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

      require(readByte() == '\"'.code.toByte())
      val result = Buffer()
      while (true) {
        val i = indexOfElement(QUOTED_STRING_DELIMITERS)
        if (i == -1L) return null // Unterminated quoted string.
    
        if (this[i] == '"'.code.toByte()) {
          result.write(this, i)
          // Consume '"'.
          readByte()
          return result.readUtf8()
        }
    
        if (size == i + 1L) return null // Dangling escape.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

        }
    
        private static String quoteEscape(final String original) {
            String result = original;
    
            if (result.indexOf('\"') >= 0) {
                result = result.replace("\"", "\"\"");
            }
            if (result.indexOf(',') >= 0) {
                return "\"" + result + "\"";
            }
            return result;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                final List<Map<String, String>> result = new ArrayList<>();
                final Map<String, String> map = new HashMap<>();
                map.put("id", UPLOAD);
                map.put("name", "");
                map.put("version", "");
                result.add(map);
                try {
                    result.addAll(getAllAvailableArtifacts());
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                int result = notification.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
    
                // Test with different offsets
                result = notification.writeBytesWireFormat(buffer, 10);
                assertEquals(0, result);
    
                result = notification.writeBytesWireFormat(buffer, 50);
                assertEquals(0, result);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      /** Creates an {@code AtomicLongMap} with the same mappings as the specified {@code Map}. */
      public static <K> AtomicLongMap<K> create(Map<? extends K, ? extends Long> m) {
        AtomicLongMap<K> result = create();
        result.putAll(m);
        return result;
      }
    
      /**
       * Returns the value associated with {@code key}, or zero if there is no value associated with
       * {@code key}.
       */
      public long get(K key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top