Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 307 for ValueOf (0.03 sec)

  1. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            Supplier<Object> supplier = () -> Integer.valueOf(123);
    
            monitorTarget.append(buf, "intKey", supplier);
            assertEquals("\"intKey\":123", buf.toString());
        }
    
        // Test append method with Long value
        public void test_append_longValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> Long.valueOf(9876543210L);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertTrue("Should have FILE protocol type", hasFile);
        }
    
        // Test ProtocolType valueOf
        public void test_protocolTypeValueOf() {
            assertEquals("valueOf(\"WEB\") should return WEB", ProtocolType.WEB, ProtocolType.valueOf("WEB"));
            assertEquals("valueOf(\"FILE\") should return FILE", ProtocolType.FILE, ProtocolType.valueOf("FILE"));
        }
    
        // Test ProtocolType name
        public void test_protocolTypeName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
      private static final Function<Long, BigInteger> TO_BIGINTEGER =
          new Function<Long, BigInteger>() {
            @Override
            public BigInteger apply(Long n) {
              return BigInteger.valueOf(n);
            }
          };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, this::asListHtml);
            }
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
          strings[i] = String.valueOf(Math.random());
        }
      }
    
      @Benchmark
      void addsAndRemoves(int reps) {
        int capacity = this.capacity;
        BlockingQueue<String> queue = this.queue;
        String[] strings = this.strings;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/BackupTests.java

            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            assertTrue(res.containsKey("total_words_num"));
            assertTrue(res.containsKey("document_words_num"));
            assertTrue(res.containsKey("query_words_num"));
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

            assertEquals(0, ((Authentication[]) initParamMap.get(HcHttpClient.AUTHENTICATIONS_PROPERTY)).length);
            assertTrue(Boolean.valueOf(initParamMap.get("robotsTxtEnabled").toString()).booleanValue());
        }
    
        public void test_initializeClientFactoryWithConfigParameter() {
            final Map<String, String> systemPropMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/DiscreteDomain.java

        BigIntegerDomain() {
          super(true);
        }
    
        private static final BigInteger MIN_LONG = BigInteger.valueOf(Long.MIN_VALUE);
        private static final BigInteger MAX_LONG = BigInteger.valueOf(Long.MAX_VALUE);
    
        @Override
        public BigInteger next(BigInteger value) {
          return value.add(BigInteger.ONE);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                                    val performanceTestType = PerformanceTestType.valueOf(key.uppercase())
                                    performanceTestType to
                                        value
                                            .map {
                                                Os.valueOf(it.uppercase(Locale.US))
                                            }.toSet()
                                }.toMap()
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top