Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,025 for unclean (0.18 sec)

  1. src/net/http/pattern.go

    	}
    	// At this point, rest is the path.
    	off += i
    
    	// An unclean path with a method that is not CONNECT can never match,
    	// because paths are cleaned before matching.
    	if method != "" && method != "CONNECT" && rest != cleanPath(rest) {
    		return nil, errors.New("non-CONNECT pattern with unclean path can never match")
    	}
    
    	seenNames := map[string]bool{} // remember wildcard names to catch dups
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. pkg/volume/util/atomic_writer_test.go

    			},
    			valid: false,
    		},
    		{
    			name: "payload with empty path is invalid",
    			payload: map[string]FileProjection{
    				"": {},
    			},
    			valid: false,
    		},
    		{
    			name: "payload with unclean path should be cleaned",
    			payload: map[string]FileProjection{
    				"foo////bar": {},
    			},
    			valid:    true,
    			expected: sets.New[string]("foo/bar"),
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/search/search.go

    	}
    
    	if m.IsLiteral() {
    		m.Dirs = []string{m.pattern}
    		return
    	}
    
    	// Clean the path and create a matching predicate.
    	// filepath.Clean removes "./" prefixes (and ".\" on Windows). We need to
    	// preserve these, since they are meaningful in MatchPattern and in
    	// returned import paths.
    	cleanPattern := filepath.Clean(m.pattern)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  4. src/net/http/pattern_test.go

    		{"{a}/b", "at offset 0: host contains '{' (missing initial '/'?)"},
    		{"/a/{x}/b/{x...}", "at offset 9: duplicate wildcard name"},
    		{"GET //", "at offset 4: non-CONNECT pattern with unclean path"},
    	} {
    		_, err := parsePattern(test.in)
    		if err == nil || !strings.Contains(err.Error(), test.contains) {
    			t.Errorf("%q:\ngot %v, want error containing %q", test.in, err, test.contains)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/gcimporter_test.go

    	// However, the binary importer then used the package path to identify
    	// the imported package to mark it as complete; effectively marking the
    	// wrong package as complete. By using an "unclean" package path, the
    	// file and package path are different, exposing the problem if present.
    	// The same issue occurs with vendoring.)
    	imports := make(map[string]*types.Package)
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/action.go

    // NewBuilder returns a new Builder ready for use.
    //
    // If workDir is the empty string, NewBuilder creates a WorkDir if needed
    // and arranges for it to be removed in case of an unclean exit.
    // The caller must Close the builder explicitly to clean up the WorkDir
    // before a clean exit.
    func NewBuilder(workDir string) *Builder {
    	b := new(Builder)
    
    	b.actionCache = make(map[cacheKey]*Action)
    	b.toolIDCache = make(map[string]string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/clean/clean.go

    distinct from those stored in testdata directory; clean does not remove
    those files.
    
    For more about build flags, see 'go help build'.
    
    For more about specifying packages, see 'go help packages'.
    	`,
    }
    
    var (
    	cleanI         bool // clean -i flag
    	cleanR         bool // clean -r flag
    	cleanCache     bool // clean -cache flag
    	cleanFuzzcache bool // clean -fuzzcache flag
    	cleanModcache  bool // clean -modcache flag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. build/make-clean.sh

    # limitations under the License.
    
    # Clean out the output directory on the docker host.
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/build/common.sh"
    
    kube::build::verify_prereqs false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 16 08:33:28 UTC 2019
    - 845 bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            then: "clean is still marked UP-TO-DATE"
            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
    
            when: "the kotlin script compiler is invoked due to a script change"
            buildKotlinFile << "\n"
            succeeds "clean"
            then: "clean is still marked as UP-TO-DATE"
            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-clean-plugin/0.1/maven-clean-plugin-0.1.jar

    META-INF/MANIFEST.MF Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: BEBE Build-Jdk: 1.6.0_07 META-INF/maven/plugin.xml A test plugin to assist testing of Maven core. org.apache.maven.plugins maven-clean-plugin 0.1 clean false true clean Does nothing. false true false false false true org.apache.maven.plugin.coreit.ItMojo java per-lookup once-per-session org.apache.maven maven-plugin-api jar 2.0 org/apache/maven/plugin/coreit/ItMojo.class package org.apache.maven.plugin.coreit;...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 23 23:48:02 UTC 2009
    - 6.6K bytes
    - Viewed (0)
Back to top