Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 2,095 for getA (0.11 seconds)

  1. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

            JsonPath jsonPath = JsonPath.from(searchResponse);
            String queryId = jsonPath.getString("query_id");
            List<Map<String, Object>> docs = jsonPath.getList("data");
    
            if (docs != null && !docs.isEmpty()) {
                String docId = docs.get(0).get("doc_id").toString();
    
                // Set favorite
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            assertTrue(result.contains("id=test_id"));
        }
    
        // Test get method with empty file
        @Test
        public void test_get_emptyFile() throws Exception {
            writeTestFile("");
    
            OptionalEntity<CharMappingItem> result = charMappingFile.get(1L);
            assertFalse(result.isPresent());
        }
    
        // Test get method with valid data
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            assertTrue(storeCalled.get());
            assertNotNull(capturedConfig.get());
            assertEquals("test-config", capturedConfig.get().getName());
            assertNotNull(capturedCallback.get());
            assertNotNull(capturedParams.get());
            assertEquals("value1", capturedParams.get().getAsString("key1"));
            assertEquals("value2", capturedParams.get().getAsString("key2"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

          while (true) {
            try {
              return future.get();
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
      }
    
      /**
       * Invokes {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)} uninterruptibly.
       *
       * <p>Similar methods:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            corsHandlerFactory.add(origin3, handler3);
    
            // Verify
            assertEquals(handler1, corsHandlerFactory.get(origin1));
            assertEquals(handler2, corsHandlerFactory.get(origin2));
            assertEquals(handler3, corsHandlerFactory.get(origin3));
        }
    
        @Test
        public void test_get_wildcardOrigin() {
            // Setup
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

         * @param acceptedRoles array of role names that can access the API
         */
        public void setAcceptedRoles(final String[] acceptedRoles) {
            this.acceptedRoles = acceptedRoles;
        }
    
        /**
         * Gets the server path with access token for API requests.
         *
         * @return the complete server path including the access token
         * @throws FessSystemException if no access token is available
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/CollectorTester.java

       * same result.
       */
      enum CollectStrategy {
        /** Get one accumulator and accumulate the elements into it sequentially. */
        SEQUENTIAL {
          @Override
          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
              A result(Collector<T, A, R> collector, Iterable<T> inputs) {
            A accum = collector.supplier().get();
            for (T input : inputs) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/ForwardingLoadingCache.java

      @Override
      protected abstract LoadingCache<K, V> delegate();
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public V get(K key) throws ExecutionException {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public V getUnchecked(K key) {
        return delegate().getUnchecked(key);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/DocMapTest.java

            assertTrue(docMap.isEmpty());
            value.clear();
    
            List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1");
            value.put(keys.get(0), true);
            value.put(keys.get(1), 1000);
            value.put(keys.get(2), "ja");
            value.put(keys.get(3), "str");
            docMap = new DocMap(value);
            assertFalse(docMap.isEmpty());
    
            Set<Map.Entry<String, Object>> actual = docMap.entrySet();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

        assertContentsAnyOrder(multimap().asMap().get(null), getValueForNullKey());
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testAsMapGetNullKeyAbsent() {
        assertNull(multimap().asMap().get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testAsMapGetNullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> multimap().asMap().get(null));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.8K bytes
    - Click Count (0)
Back to Top