Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 325 for substring (0.06 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
                return Optional.of(str.substring(0, str.length() - suffix.length()));
              } else {
                return Optional.absent();
              }
            }
          };
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      //   list of labels in the path split by the '/' separator. A request is a
      //   match for path p if every p is an element-wise prefix of p of the
      //   request path. Note that if the last element of the path is a substring
      //   of the last element in request path, it is not a match (e.g. /foo/bar
      //   matches /foo/bar/baz, but does not match /foo/barbaz).
      // * ImplementationSpecific: Interpretation of the Path matching is up to
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        }
    
        public static String createSuggestTextId(final String text) {
            final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8));
            if (id.length() > 445) {
                return id.substring(0, ID_MAX_LENGTH);
            }
            return id;
        }
    
        public static String[] parseQuery(final String q, final String field) {
            final List<String> keywords = getKeywords(q, new String[] { field });
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/MediaType.java

          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
          int startPosition = position;
          String token = consumeTokenIfPresent(matcher);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SIDCacheImpl.java

                    String server = authorityServerName;
                    int dot = server.indexOf('.');
                    if ( dot > 0 && Character.isDigit(server.charAt(0)) == false )
                        server = server.substring(0, dot);
                    try ( LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800) ) {
                        resolveSids(handle, policyHandle, sids);
                    }
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
       *         .put('b', "anana")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        final Function<String, String> removeFirstCharacter =
            new Function<String, String>() {
              @Override
              public String apply(String input) {
                return input.substring(1);
              }
            };
    
        suite.addTest(
            CollectionTestSuiteBuilder.using(
                    new TestStringCollectionGenerator() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        final Function<String, String> removeFirstCharacter =
            new Function<String, String>() {
              @Override
              public String apply(String input) {
                return input.substring(1);
              }
            };
    
        suite.addTest(
            CollectionTestSuiteBuilder.using(
                    new TestStringCollectionGenerator() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                final String key = e.getKey().toString();
                if (!key.startsWith(SAML_PREFIX)) {
                    return;
                }
                params.put("onelogin.saml2." + key.substring(SAML_PREFIX.length()), e.getValue());
            });
            return new SettingsBuilder().fromValues(params).build();
        }
    
        @Override
        public LoginCredential getLoginCredential() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                // wrong state
                return;
            }
    
            final int idx = url.indexOf('/', url.indexOf("://") + 3);
            String hostUrl;
            if (idx >= 0) {
                hostUrl = url.substring(0, idx);
            } else {
                hostUrl = url;
            }
            final String robotTxtUrl = hostUrl + "/robots.txt";
    
            // check url
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top