Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 797 for flagstr (0.19 sec)

  1. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultFeatureFlagsTest.groovy

            flag.systemPropertyName >> "prop"
    
            expect:
            !flags.isEnabled(flag)
            !flags.isEnabledWithApi(flag)
        }
    
        def "can explicitly enable flag"() {
            def flag = Stub(FeatureFlag)
            flag.systemPropertyName >> null
            flags.enable(flag)
    
            expect:
            flags.isEnabled(flag)
            flags.isEnabledWithApi(flag)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. src/regexp/syntax/regexp.go

    		*flags = make(map[*Regexp]printFlags)
    	}
    	(*flags)[start] = f
    	(*flags)[last] |= flagOff // maybe start==last
    }
    
    // calcFlags calculates the flags to print around each subexpression in re,
    // storing that information in (*flags)[sub] for each affected subexpression.
    // The first time an entry needs to be written to *flags, calcFlags allocates the map.
    // calcFlags also calculates the flags that must be active or can't be active
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. cmd/kubelet/app/server.go

    }
    
    // newFlagSetWithGlobals constructs a new pflag.FlagSet with global flags registered
    // on it.
    func newFlagSetWithGlobals() *pflag.FlagSet {
    	fs := pflag.NewFlagSet("", pflag.ExitOnError)
    	// set the normalize func, similar to k8s.io/component-base/cli//flags.go:InitFlags
    	fs.SetNormalizeFunc(cliflag.WordSepNormalizeFunc)
    	// explicitly add flags from libs that register global flags
    	options.AddGlobalFlags(fs)
    	return fs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/testing/testserver.go

    	if err != nil {
    		return TestServer{}, err
    	}
    	all, disabled, aliases := app.KnownControllers(), app.ControllersDisabledByDefault(), app.ControllerAliases()
    	namedFlagSets := s.Flags(all, disabled, aliases)
    	for _, f := range namedFlagSets.FlagSets {
    		fs.AddFlagSet(f)
    	}
    	fs.Parse(customFlags)
    
    	if s.SecureServing.BindPort != 0 {
    		s.SecureServing.Listener, s.SecureServing.BindPort, err = createListenerOnFreePort()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/recommended.go

    		Admission:                  NewAdmissionOptions(),
    		EgressSelector:             NewEgressSelectorOptions(),
    		Traces:                     NewTracingOptions(),
    	}
    }
    
    func (o *RecommendedOptions) AddFlags(fs *pflag.FlagSet) {
    	o.Etcd.AddFlags(fs)
    	o.SecureServing.AddFlags(fs)
    	o.Authentication.AddFlags(fs)
    	o.Authorization.AddFlags(fs)
    	o.Audit.AddFlags(fs)
    	o.Features.AddFlags(fs)
    	o.CoreAPI.AddFlags(fs)
    	o.Admission.AddFlags(fs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    			allErrors = append(allErrors, err)
    		}
    	}
    	return errors.NewAggregate(allErrors)
    }
    
    // AddUniversalFlags adds flags for a specific APIServer to the specified FlagSet
    func (s *ServerRunOptions) AddUniversalFlags(fs *pflag.FlagSet) {
    	// Note: the weird ""+ in below lines seems to be the only way to get gofmt to
    	// arrange these text blocks sensibly. Grrr.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/tfcompile_main.cc

      tensorflow::tfcompile::MainFlags flags;
    #ifndef __s390x__
      flags.target_triple = "x86_64-pc-linux";
    #endif
      flags.out_function_object = "out_model.o";
      flags.out_metadata_object = "out_helper.o";
      flags.out_header = "out.h";
      flags.entry_point = "entry";
      flags.debug_info_path_begin_marker = "";
    
      // Note that tfcompile.bzl's tf_library macro sets fast math flags as that is
      // generally the preferred case.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_linux_test.go

    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
                    /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3
    		`
    	var err error
    	dir := t.TempDir()
    	mountsPath := filepath.Join(dir, "mounts")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          var flags = FLAG_NONE
          if (outFinished) flags = flags or FLAG_END_STREAM
          dataFrame(streamId, flags, source, byteCount)
        }
      }
    
      @Throws(IOException::class)
      fun dataFrame(
        streamId: Int,
        flags: Int,
        buffer: Buffer?,
        byteCount: Int,
      ) {
        frameHeader(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/vet/vetflag.go

    	"cmd/go/internal/base"
    	"cmd/go/internal/cmdflag"
    	"cmd/go/internal/work"
    )
    
    // go vet flag processing
    //
    // We query the flags of the tool specified by -vettool and accept any
    // of those flags plus any flag valid for 'go build'. The tool must
    // support -flags, which prints a description of its flags in JSON to
    // stdout.
    
    // vetTool specifies the vet command to run.
    // Any tool that supports the (still unpublished) vet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top