Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 650 for rechace (0.05 seconds)

  1. src/bytes/example_test.go

    }
    
    func ExampleRepeat() {
    	fmt.Printf("ba%s", bytes.Repeat([]byte("na"), 2))
    	// Output: banana
    }
    
    func ExampleReplace() {
    	fmt.Printf("%s\n", bytes.Replace([]byte("oink oink oink"), []byte("k"), []byte("ky"), 2))
    	fmt.Printf("%s\n", bytes.Replace([]byte("oink oink oink"), []byte("oink"), []byte("moo"), -1))
    	// Output:
    	// oinky oinky oink
    	// moo moo moo
    }
    
    func ExampleReplaceAll() {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  2. ci/official/utilities/setup_macos.sh

    # target inside "tensorflow/tools/toolchains/cross_compile/cc" so that Bazel
    # can register it as an input to compile/link actions and send it to the remote
    # VMs when needed.
    # TODO(b/316932689): Avoid copying and replace with a local repository rule.
    if [[ "$TFCI_MACOS_CROSS_COMPILE_ENABLE" == 1 ]]; then
      mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr"
      mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/System/Library/Frameworks/"
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Oct 06 22:42:26 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

                    ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.QUERY_FREQ).missing(0));
            functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE);
            return functionScoreQueryBuilder;
        }
    
        /**
         * Builds the OpenSearch rescorer for popular words.
         * @return The QueryRescorerBuilder instance.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Aug 07 02:41:28 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            return classInfo;
          }
        }
        throw new AssertionError("failed to find " + cls);
      }
    
      private static ResourceInfo resourceInfo(Class<?> cls) {
        String resource = cls.getName().replace('.', '/') + ".class";
        ClassLoader loader = cls.getClassLoader();
        return ResourceInfo.of(FILE, resource, loader);
      }
    
      private static ClassInfo classInfo(Class<?> cls) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_TensorHandle* value_handle = nullptr;
      ReadVariable(ctx, var_handle1, &value_handle);
      CheckTFE_TensorHandleHasFloats(value_handle, {2});
      TFE_DeleteTensorHandle(value_handle);
    
      // Start a new worker to replace task:1
      ReplaceTaskInServerDef(&server_def, 1);
      server_def.set_task_index(1);
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server.release();
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

            String newPath = path.replace(".", "\\.").replace("?", "\\?").replace("*", ".*");
            if (newPath.charAt(0) != '/') {
                newPath = ".*" + newPath;
            }
            if (!newPath.endsWith("$") && !newPath.endsWith(".*")) {
                newPath = newPath + ".*";
            }
            return newPath.replace(".*.*", ".*");
        }
    
        /*
         * (non-Javadoc)
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         */
        public static String formatDuration(final long durationMillis) {
            return DurationFormatUtils.formatDuration(durationMillis, "d 'days' HH:mm:ss.SSS").replace("0 days", StringUtil.EMPTY).trim();
    
        }
    
        /**
         * Formats a number using the specified pattern and user's locale.
         *
         * @param value the number to format
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

                final String key = e.getKey();
                String value = e.getValue();
                for (final Map.Entry<String, String> entry : paramEnvMap.entrySet()) {
                    value = value.replace("${" + entry.getKey() + "}", entry.getValue());
                }
                return new Pair<>(key, value);
            }).collect(Collectors.toMap(Pair<String, String>::getFirst, Pair<String, String>::getSecond));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java

        }
    
        public static String convertWindowsPath(Project project, String path) {
            return "C:\\elasticsearch\\" + project.getRootDir().toPath().relativize(Paths.get(path)).toString().replace('/', '\\');
        }
    
        public static class VagrantExecSpec {
            private String command;
            private String subcommand;
            private String[] args;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            final String source = fessConfig.getIndexReindexBody()//
                    .replace("__SOURCE_INDEX__", fromIndex)//
                    .replace("__SIZE__", fessConfig.getIndexReindexSize())//
                    .replace("__DEST_INDEX__", toIndex)//
                    .replace("__SCRIPT_SOURCE__", ComponentUtil.getLanguageHelper().getReindexScriptSource());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
Back to Top