Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for flaw (0.05 sec)

  1. docs/en/docs/how-to/conditional-openapi.md

    Hiding your documentation user interfaces in production *shouldn't* be the way to protect your API.
    
    That doesn't add any extra security to your API, the *path operations* will still be available where they are.
    
    If there's a security flaw in your code, it will still exist.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/watch/filter.go

    // Putting a filter on a watch, as an unavoidable side-effect due to the way
    // go channels work, effectively causes the watch's event channel to have its
    // queue length increased by one.
    //
    // WARNING: filter has a fatal flaw, in that it can't properly update the
    // Type field (Add/Modified/Deleted) to reflect items beginning to pass the
    // filter when they previously didn't.
    func Filter(w Interface, f FilterFunc) Interface {
    	fw := &filteredWatch{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

    /**
     * Wraps an active project instance to be able to receive updates from its artifact without affecting the original
     * attributes of this artifact.
     *
     * TODO I think this exposes a design flaw in that the immutable and mutable parts of an artifact are in one class and
     * should be split. ie scope, file, etc depend on the context of use, whereas everything else is immutable.
     */
    @Deprecated
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/base/flag.go

    // AddBuildFlagsNX adds the -n and -x build flags to the flag set.
    func AddBuildFlagsNX(flags *flag.FlagSet) {
    	flags.BoolVar(&cfg.BuildN, "n", false, "")
    	flags.BoolVar(&cfg.BuildX, "x", false, "")
    }
    
    // AddChdirFlag adds the -C flag to the flag set.
    func AddChdirFlag(flags *flag.FlagSet) {
    	// The usage message is never printed, but it's used in chdir_test.go
    	// to identify that the -C flag is from AddChdirFlag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/flag/flag.go

    // license that can be found in the LICENSE file.
    
    /*
    Package flag implements command-line flag parsing.
    
    # Usage
    
    Define flags using [flag.String], [Bool], [Int], etc.
    
    This declares an integer flag, -n, stored in the pointer nFlag, with type *int:
    
    	import "flag"
    	var nFlag = flag.Int("n", 1234, "help message for flag n")
    
    If you like, you can bind the flag to a variable using the Var() functions.
    
    	var flagvar int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/flag.go

    )
    
    // A PerPackageFlag is a command-line flag implementation (a flag.Value)
    // that allows specifying different effective flags for different packages.
    // See 'go help build' for more details about per-package flags.
    type PerPackageFlag struct {
    	raw     string
    	present bool
    	values  []ppfValue
    }
    
    // A ppfValue is a single <pattern>=<flags> per-package flag value.
    type ppfValue struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 20:20:43 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. pkg/flag/flag.go

    type Flaggable interface {
    	string | bool | uint16 | time.Duration
    }
    
    var replacer = strings.NewReplacer("-", "_")
    
    // Bind registers a flag to the FlagSet. When parsed, the value will be set via pointer.
    // Usage:
    //
    //	cfg := Config{Foo: "default-foo"}
    //	flag.Bind(fs, "foo", "f", "the foo value", &cfg.Foo)
    func Bind[T Flaggable](fs *pflag.FlagSet, name, shorthand, usage string, val *T) {
    	switch d := any(val).(type) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. architecture/security/docs/sds-flow.svg

    sds-flow.svg...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 25 00:43:58 UTC 2023
    - 54.5K bytes
    - Viewed (0)
  9. src/cmd/internal/objabi/flag.go

    			// expect form ssa/phase/flag
    			// e.g. -d=ssa/generic_cse/time
    			// _ in phase name also matches space
    			phase := name[4:]
    			flag := "debug" // default flag is debug
    			if i := strings.Index(phase, "/"); i >= 0 {
    				flag = phase[i+1:]
    				phase = phase[:i]
    			}
    			err := f.debugSSA(phase, flag, val, valstring)
    			if err != "" {
    				log.Fatalf(err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 23:08:09 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cmdflag/flag.go

    //
    // ParseOne always returns either a non-nil Flag or a non-nil error,
    // and always consumes at least one argument (even on error).
    //
    // Unlike (*flag.FlagSet).Parse, ParseOne does not log its own errors.
    func ParseOne(fs *flag.FlagSet, args []string) (f *flag.Flag, remainingArgs []string, err error) {
    	// This function is loosely derived from (*flag.FlagSet).parseOne.
    
    	raw, args := args[0], args[1:]
    	arg := raw
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 02:38:04 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top