Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,664 for fstring (0.07 seconds)

  1. guava/src/com/google/common/base/Strings.java

      public static String nullToEmpty(@Nullable String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
       * Returns the given string if it is nonempty; {@code null} otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is nonempty; {@code null} if it is empty or null
       */
      public static @Nullable String emptyToNull(@Nullable String string) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Strings.java

      public static String nullToEmpty(@Nullable String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
       * Returns the given string if it is nonempty; {@code null} otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is nonempty; {@code null} if it is empty or null
       */
      public static @Nullable String emptyToNull(@Nullable String string) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/net/InetAddressesTest.java

          InetAddress ipv6Addr = InetAddress.getByName(ipString);
          assertThat(InetAddresses.forString(ipString)).isEqualTo(ipv6Addr);
          assertTrue(InetAddresses.isInetAddress(ipString));
        }
      }
    
      public void testIPv4AddressWithScopeId() throws SocketException {
        ImmutableSet<String> ipStrings = ImmutableSet.of("1.2.3.4", "192.168.0.1");
        for (String ipString : ipStrings) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

      }
    
      private static @Nullable String convertDottedQuadToHex(String ipString) {
        int lastColon = ipString.lastIndexOf(':');
        String initialPart = ipString.substring(0, lastColon + 1);
        String dottedQuad = ipString.substring(lastColon + 1);
        byte[] quad = textToNumericFormatV4(dottedQuad);
        if (quad == null) {
          return null;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

    public class SuggestTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "";
        private static final String API_PATH = "/api/admin/suggest";
        private static final String LIST_ENDPOINT_SUFFIX = "";
        private static final String ITEM_ENDPOINT_SUFFIX = "";
    
        private static final String KEY_PROPERTY = "";
    
        @Override
        protected String getNamePrefix() {
            return NAME_PREFIX;
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

            }
    
            String logId = logs.get(0).get("id").toString();
    
            // Get the specific log
            response = checkMethodBase(searchBody).get(API_PATH + "/log/" + logId).asString();
            Map<String, Object> log = JsonPath.from(response).getMap("response.log");
    
            logger.info("Failure URL log detail: {}", log);
            assertEquals(logId, log.get("id").toString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

        private static final String NAME_PREFIX = "documentsTest_";
        private static final String API_PATH = "/api/admin/documents";
        private static final String BULK_ENDPOINT = "bulk";
        private static final String SEARCHLIST_API_PATH = "/api/admin/searchlist";
    
        private static final String KEY_PROPERTY = "title";
    
        @BeforeAll
        protected static void initAll() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

        private static final String API_PATH = "/api/admin/stats";
    
        @Override
        protected String getNamePrefix() {
            fail("getNamePrefix is not supported for StatsTests");
            return null;
        }
    
        @Override
        protected String getApiPath() {
            return API_PATH;
        }
    
        @Override
        protected String getKeyProperty() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            Map<String, Object> item = results.get(0);
            logger.info("item: {}", item);
            assertTrue(item.containsKey("content_title"));
            final String contentTitle = (String) item.get("content_title");
            assertTrue(contentTitle.contains("<strong>CodeLibs</strong>"),
                    "content_title should contain highlighted 'CodeLibs': " + contentTitle);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

        }
    
        protected static List<String> getWebConfigIds(final String namePrefix) {
            final String response = getJsonResponse("/api/admin/webconfig/settings");
            final List<String> idList = JsonPath.from(response).getList(getResponsePath(namePrefix) + ".id");
            return idList;
        }
    
        protected static String createFileConfig(final Map<String, Object> requestBody) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top