Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 631 for Replace (0.06 seconds)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            .newCall(
              request()
                .build(),
            ).execute()
        response.body.close()
        val redactedUrl = networkInterceptor.redactUrl(url)
        val redactedUrlPattern = redactedUrl.replace("?", """\?""")
        applicationLogs
          .assertLogEqual("--> GET $redactedUrl")
          .assertLogMatch(Regex("""<-- 200 OK $redactedUrlPattern \(\d+ms, \d+-byte body\)"""))
          .assertNoMoreLogs()
        networkLogs
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                        retVal += evaluate(expr.substring(lastIndex + 1));
                        return retVal;
                    }
                }
    
                // Was not an expression
                return expression.replace("$$", "$");
            }
    
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            if ("localRepository".equals(expression)) {
                value = session.getLocalRepository();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. src/archive/tar/strconv.go

    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    		b[n] = 0 // Replace trailing slash with NUL terminator
    	}
    }
    
    // fitsInBase256 reports whether x can be encoded into n bytes using base-256
    // encoding. Unlike octal encoding, base-256 encoding does not require that the
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Sep 08 17:08:20 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. cmd/erasure-metadata_test.go

    func TestAddObjectPart(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{1, 0},
    		{2, 1},
    		{4, 2},
    		{5, 3},
    		{7, 4},
    		// Insert part.
    		{3, 2},
    		// Replace existing part.
    		{4, 3},
    		// Missing part.
    		{6, -1},
    	}
    
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. scripts/translate.py

        assert str(path).startswith(str(en_docs_path)), (
            f"Path must be inside {en_docs_path}"
        )
        lang_docs_path = Path(f"docs/{lang}/docs")
        out_path = Path(str(path).replace(str(en_docs_path), str(lang_docs_path)))
        return out_path
    
    
    def generate_en_path(*, lang: str, path: Path) -> Path:
        en_docs_path = Path("docs/en/docs")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * an entry for the provided key, and if so replaces the delegate.
       */
    
      private transient Map<K, Collection<V>> map;
      private transient int totalSize;
    
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  7. ci/official/utilities/code_check_full.bats

        echo "Look at the instructions for ':api_compatibility_test -- --update_goldens=True'"
    }
    
    # See b/279852433 (internal).
    # TODO(b/279852433) Replace deps(//tensorflow/...) with deps(//...)
    @test "Verify that it's possible to query every TensorFlow target without BUILD errors" {
        bazel query "deps(//tensorflow/... -attr(tags, 'manual', //tensorflow/...))" > /dev/null
    }
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 19 18:47:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. cmd/metacache-entries.go

    						}
    						// Discard the directory.
    						if err := selectFrom(otherIdx); err != nil {
    							return err
    						}
    						continue
    					}
    					// Replace directory with object.
    					if serverDebugLog {
    						console.Debugln("mergeEntryChannels: discarding directory", best.name, "for object", other.name)
    					}
    					toMerge = toMerge[:0]
    					best = other
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                try {
                    Path correctRelativePath = pomPath.getParent().relativize(correctParentPath);
                    String correctRelativePathStr = correctRelativePath.toString().replace('\\', '/');
    
                    if (!correctRelativePathStr.equals(currentRelativePath)) {
                        // Update or create relativePath element using DomUtils convenience method
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

                ).groupedByTarget()
    
            val sourceFiles =
                ArrayList<File>(extensionsPerTarget.size)
    
            val packageDir =
                outputDirectory.resolve(packageName.replace('.', File.separatorChar))
    
            fun sourceFile(name: String) =
                packageDir.resolve(name).also { sourceFiles.add(it) }
    
            packageDir.mkdirs()
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top