- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for safeArg (0.15 sec)
-
src/cmd/go/internal/work/security.go
} } for _, x := range validNext { if arg == x { if i+1 < len(list) && load.SafeArg(list[i+1]) { i++ continue Args } // Permit -Wl,-framework -Wl,name. if i+1 < len(list) && strings.HasPrefix(arg, "-Wl,") && strings.HasPrefix(list[i+1], "-Wl,") && load.SafeArg(list[i+1][4:]) && !strings.Contains(list[i+1][4:], ",") { i++ continue Args
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:47:34 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/compile/internal/noder/noder.go
} // safeArg reports whether arg is a "safe" command-line argument, // meaning that when it appears in a command-line, it probably // doesn't have some special meaning other than its own name. // This is copied from SafeArg in cmd/go/internal/load/pkg.go. func safeArg(name string) bool { if name == "" { return false } c := name[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:40:57 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// so we shouldn't see any _cgo_ files anyway, but just be safe. for _, file := range inputs { if !SafeArg(file) || strings.HasPrefix(file, "_cgo_") { setError(fmt.Errorf("invalid input file name %q", file)) return } } if name := pathpkg.Base(p.ImportPath); !SafeArg(name) { setError(fmt.Errorf("invalid input directory name %q", name)) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java
} } public void sendHeadRequest(URI uri) throws Exception { URL safeUrl = safeUri(uri).toURL(); int responseCode = -1; try { HttpURLConnection conn = (HttpURLConnection)safeUrl.openConnection(); conn.setRequestMethod("HEAD"); addBasicAuthentication(uri, conn);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
} else if strings.HasPrefix(pcarg, "--") { pcflags = append(pcflags, pcarg) } else { pkgs = append(pkgs, pcarg) } } for _, pkg := range pkgs { if !load.SafeArg(pkg) { return nil, nil, fmt.Errorf("invalid pkg-config package name: %s", pkg) } } var out []byte out, err = sh.runOut(p.Dir, nil, b.PkgconfigCmd(), "--cflags", pcflags, "--", pkgs)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheConfigurationBuildOperationIntegrationTest.groovy
given: httpBuildCacheServer.start() def safeUri = httpBuildCacheServer.uri def basicAuthUri = new URI(safeUri.getScheme(), 'user:pwd', safeUri.getHost(), safeUri.getPort(), safeUri.getPath(), safeUri.getQuery(), safeUri.getFragment()) settingsFile << """ buildCache { remote(org.gradle.caching.http.HttpBuildCache) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java
if (LOGGER.isDebugEnabled()) { LOGGER.debug("Response for PUT {}: {}", safeUri(uri), statusLine); } int statusCode = statusLine.getStatusCode(); if (!isHttpSuccess(statusCode)) { String defaultMessage = String.format("Storing entry at '%s' response status %d: %s", safeUri(uri), statusCode, statusLine.getReasonPhrase());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 14:13:12 UTC 2024 - 8K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidCommunityPluginsSmokeTest.groovy
// https://plugins.gradle.org/plugin/com.github.triplet.play (TRIPLET_PLAY_PLUGIN_ID): Versions.of('3.8.4'), // https://mvnrepository.com/artifact/androidx.navigation.safeargs/androidx.navigation.safeargs.gradle.plugin (SAFEARGS_PLUGIN_ID): Versions.of('2.6.0'), // https://mvnrepository.com/artifact/com.google.dagger/hilt-android-gradle-plugin
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java
import static java.lang.String.format; import static java.util.Collections.emptyList; import static org.gradle.internal.file.PathTraversalChecker.safePathName; import static org.gradle.wrapper.Download.safeUri; public class Install { public static final String DEFAULT_DISTRIBUTION_PATH = "wrapper/dists"; public static final String SHA_256 = ".sha256"; public static final int RETRIES = 3;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 14.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/with_retry_after_test.go
handlerInvoked++ }) safeWG := new(utilwaitgroup.SafeWaitGroup) if test.safeWaitGroupIsWaiting { // mark the safe wait group as waiting, it's a blocking call // but since the WaitGroup counter is zero it should not block safeWG.Wait() } wrapped := WithWaitGroup(handler, func(*http.Request, *apirequest.RequestInfo) bool { return false }, safeWG)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 31 14:10:46 UTC 2021 - 6.1K bytes - Viewed (0)