Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 265 for ValueOf (0.18 sec)

  1. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                processPluginRequest(request, response, path.replaceFirst("^/_plugin", StringUtil.EMPTY));
                return;
            }
    
            final Method httpMethod = Method.valueOf(request.getMethod().toUpperCase(Locale.ROOT));
            final CurlRequest curlRequest = ComponentUtil.getCurlHelper().request(httpMethod, path);
    
            final String contentType = request.getHeader("Content-Type");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Verify.java

       *     square braces. Unmatched placeholders will be left as-is.
       * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
       *     are converted to strings using {@link String#valueOf(Object)}.
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(
          boolean expression,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        assertEquals(
            1618900948208871284L, Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1));
    
        bytes = "test test test".getBytes(UTF_8);
        assertEquals(
            UnsignedLong.valueOf("12313169684067793560").longValue(),
            Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1));
      }
    
      public void testPutNonChars() {
        Hasher hasher = HASH_FN.newHasher();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Floats.java

          implements Serializable {
        static final Converter<String, Float> INSTANCE = new FloatConverter();
    
        @Override
        protected Float doForward(String value) {
          return Float.valueOf(value);
        }
    
        @Override
        protected String doBackward(Float value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Floats.java

          implements Serializable {
        static final Converter<String, Float> INSTANCE = new FloatConverter();
    
        @Override
        protected Float doForward(String value) {
          return Float.valueOf(value);
        }
    
        @Override
        protected String doBackward(Float value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          fail("Cast to byte should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        // This is the only ordering for primitives that does not have a
        // corresponding Comparable wrapper in java.lang.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. tests/scanner_valuer_test.go

    	switch s := src.(type) {
    	case []byte:
    		n, _ := strconv.Atoi(string(s))
    		*i = Num(n)
    	case int64:
    		*i = Num(s)
    	default:
    		return errors.New("Cannot scan NamedInt from " + reflect.ValueOf(src).String())
    	}
    	return nil
    }
    
    type StringsSlice []string
    
    func (l StringsSlice) Value() (driver.Value, error) {
    	bytes, err := json.Marshal(l)
    	return string(bytes), err
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        Entry<Integer, String> entry = iterator.next();
        entry.setValue("two"); // changes the iterator's current entry value
        assertEquals("two", map.get(1));
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        for (int i = 0; i < 100; i++) {
          builder.put(Range.closedOpen(i, i + 1), i);
        }
        ImmutableRangeMap<Integer, Integer> map = builder.build();
        for (int i = 0; i < 100; i++) {
          assertEquals(Integer.valueOf(i), map.get(i));
        }
      }
    
      @AndroidIncompatible // slow
      public void testAsMapOfRanges() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    buf.append("%20");
                } else if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), Constants.UTF_8));
                    } catch (final UnsupportedEncodingException e) {}
                }
            }
            configPath = convertCrawlingPath(buf.toString());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top