Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for substituting (0.07 seconds)

  1. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

      static int collectionIteratorTesterNumIterations() {
        return 3;
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

        return (T[]) Arrays.copyOfRange(array, 0, array.length);
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Joiner.java

        return join(iterable(first, second, rest));
      }
    
      /**
       * Returns a joiner with the same behavior as this one, except automatically substituting {@code
       * nullText} for any provided null elements.
       */
      public Joiner useForNull(String nullText) {
        checkNotNull(nullText);
        return new Joiner(this) {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Joiner.java

        return join(iterable(first, second, rest));
      }
    
      /**
       * Returns a joiner with the same behavior as this one, except automatically substituting {@code
       * nullText} for any provided null elements.
       */
      public Joiner useForNull(String nullText) {
        checkNotNull(nullText);
        return new Joiner(this) {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Strings.java

        template = String.valueOf(template); // null -> "null"
    
        if (args == null) {
          args = new Object[] {"(Object[])null"};
        }
    
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    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)
  6. src/archive/tar/writer_test.go

    		//	---------- 0/0               0 2017-07-13 19:40 global1
    		//	---------- 0/0               0 2017-07-13 19:40 file2
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 1969-12-31 16:00
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 2014-05-13 09:53
    		//
    		// According to the PAX specification, this should have been the result:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Strings.java

        template = String.valueOf(template); // null -> "null"
    
        if (args == null) {
          args = new Object[] {"(Object[])null"};
        }
    
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    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)
  8. src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java

            return loadJsonResource(resourcePath, Collections.emptyMap());
        }
    
        /**
         * Loads a JSON resource file from the classpath with placeholder substitution.
         *
         * @param resourcePath The path to the resource file
         * @param substitutions A map of placeholder patterns to replacement values.
         *        Keys should be the literal placeholder strings (e.g., "${fess.dictionary.path}").
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SettingsResourceLoaderTest.java

            Map<String, String> substitutions = new HashMap<>();
            substitutions.put("${test.placeholder}", "replaced_value");
    
            // Test loading with substitution - using a resource that exists
            String content = SettingsResourceLoader.loadJsonResource("suggest_indices/suggest_settings.json", substitutions);
            assertNotNull(content);
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                                    substitutions.add([it.group(1), it.group(2)])
                                } else if (it.group(3) != null) {
                                    // TESTRESPONSE[non_json]
                                    substitutions.add(['^', '/'])
                                    substitutions.add(['\n$', '\\\\s*/'])
                                    substitutions.add(['( +)', '$1\\\\s+'])
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
Back to Top