Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,130 for Get (0.17 sec)

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

        assertEquals(1L, map.get("1"));
        assertEquals(2L, map.get("2"));
        assertEquals(3L, map.get("3"));
      }
    
      public void testIncrementAndGet() {
        AtomicLongMap<String> map = AtomicLongMap.create();
        String key = "key";
        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.incrementAndGet(key);
          long after = map.get(key);
          assertEquals(before + 1, after);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /**
         * Get the value for the key 'api.cors.allow.origin'. <br>
         * The value is, e.g. * <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getApiCorsAllowOrigin();
    
        /**
         * Get the value for the key 'api.cors.allow.methods'. <br>
         * The value is, e.g. GET, POST, OPTIONS, DELETE, PUT <br>
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
  3. guava-tests/test/com/google/common/base/SuppliersTest.java

                public void run() {
                  assertSame(Boolean.TRUE, memoizedSupplier.get());
                }
              };
        }
        for (Thread t : threads) {
          t.start();
        }
        for (Thread t : threads) {
          t.join();
        }
    
        if (thrown.get() != null) {
          throw thrown.get();
        }
        assertEquals(1, count.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                public void run() {
                  assertSame(Boolean.TRUE, memoizedSupplier.get());
                }
              };
        }
        for (Thread t : threads) {
          t.start();
        }
        for (Thread t : threads) {
          t.join();
        }
    
        if (thrown.get() != null) {
          throw thrown.get();
        }
        assertEquals(1, count.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

                    assertFalse(called.get());
                    QueryBuilder builder = chain.execute(context, query, boost);
                    assertTrue(called.get());
                    return builder;
                }
            });
            queryBuilder = queryProcessor.execute(context, query, 1.0f);
            assertTrue(called.get());
            assertTrue(calledFirst.get());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        protected static void initAll() {
            RestAssured.baseURI = getFessUrl();
            settingTestToken();
    
            // create and execute a file crawler
            labelId = createLabel();
            crawlLabelId = createCrawlLabel();
    
            createFileConfig();
            logger.info("FileConfig is created");
            refresh();
            fileConfigId = getFileConfigIds(NAME_PREFIX).get(0);
    
            createJob();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  7. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            activityHelper.login(createUser("testuser", new String[0]));
            assertEquals("action:LOGIN\tuser:testuser\tpermissions:-", localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[] { "111", "222" }));
            assertEquals("action:LOGIN\tuser:testuser\tpermissions:111|222", localLogMsg.get());
        }
    
        public void test_loginFailure() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

                result.setAvailable(DfTypeUtil.toBoolean(source.get("available")));
                result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setDescription(DfTypeUtil.toString(source.get("description")));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        public void testGet() throws Exception {
            assertThat(map.get("ONE"), is("1"));
            assertThat(map.get("One"), is("1"));
            assertThat(map.get("hoge"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
            assertThat(map.put("One", "11"), is("1"));
            assertThat(map.get("one"), is("11"));
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Path> unresolved = dispatched.get(PathType.UNRESOLVED);
            assertEquals(3, dispatched.size());
            assertEquals(1, unresolved.size());
            assertEquals(8, classes.size()); // "plexus.pom" and "junit.jar" are excluded.
            assertEquals(1, modules.size());
            assertEquals("plexus-1.0.11.pom", unresolved.get(0).getFileName().toString());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
Back to top