Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,524 for var (0.02 sec)

  1. internal/s3select/select.go

    )
    
    const (
    	maxRecordSize = 1 << 20 // 1 MiB
    )
    
    var parquetSupport bool
    
    func init() {
    	parquetSupport = env.Get("MINIO_API_SELECT_PARQUET", config.EnableOff) == config.EnableOn
    }
    
    var bufPool = sync.Pool{
    	New: func() interface{} {
    		// make a buffer with a reasonable capacity.
    		return bytes.NewBuffer(make([]byte, 0, maxRecordSize))
    	},
    }
    
    var bufioWriterPool = sync.Pool{
    	New: func() interface{} {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. internal/pubsub/pubsub.go

    			ps.Lock()
    			defer ps.Unlock()
    			var remainTypes Mask
    			for i, s := range ps.subs {
    				if s == sub {
    					ps.subs = append(ps.subs[:i], ps.subs[i+1:]...)
    				} else {
    					remainTypes.Merge(s.types)
    				}
    			}
    			atomic.StoreUint64(&ps.types, uint64(remainTypes))
    			atomic.AddInt32(&ps.numSubscribers, -1)
    		}()
    
    		// Read from subChT and write to subCh
    		var buf bytes.Buffer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. misc/chrome/gophertool/popup.js

      console.log("submitting form");
      var box = document.getElementById("inputbox");
      box.focus();
    
      var t = box.value;
      if (t == "") {
        return false;
      }
    
      var success = function(url) {
        console.log("matched " + t + " to: " + url)
        box.value = "";
        openURL(url);
        return false;  // cancel form submission
      };
    
      var url = urlForInput(t);
      if (url) {
        return success(url);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Oct 21 17:05:21 UTC 2012
    - 1020 bytes
    - Viewed (0)
  4. internal/logger/target/types/targettype_string.go

    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[TargetConsole-1]
    	_ = x[TargetHTTP-2]
    	_ = x[TargetKafka-3]
    }
    
    const _TargetType_name = "ConsoleHTTPKafka"
    
    var _TargetType_index = [...]uint8{0, 7, 11, 16}
    
    func (i TargetType) String() string {
    	i -= 1
    	if i >= TargetType(len(_TargetType_index)-1) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 10 18:20:21 UTC 2022
    - 703 bytes
    - Viewed (0)
  5. istioctl/pkg/proxystatus/proxystatus.go

    	}
    	for _, flag := range unstableFlags {
    		_ = cmd.PersistentFlags().MarkHidden(flag)
    	}
    	return cmd
    }
    
    func XdsStatusCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	var centralOpts clioptions.CentralControlPlaneOptions
    	var multiXdsOpts multixds.Options
    
    	statusCmd := &cobra.Command{
    		Use:   "proxy-status [<type>/]<name>[.<namespace>]",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/form-validator/location.js

    adCustomVal"}),a.formUtils.addValidator({name:"longlat",validatorFunction:function(a){var b=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/;return b.test(a)},errorMessage:"",errorMessageKey:"badCustomVal"});var b=function(b){var c=[];return a.each(b,function(a,b){c.push(b.substr(0,1).toUpperCase()+b.substr(1,b.length))}),c.sort(),c};a.fn.suggestCountry=function(c){var d=b(a.formUtils.validators.validate_country.countries),e=a.inArray(d,"Usa");return d[e...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  7. cmd/endpoint.go

    	if err != nil {
    		return false
    	}
    	var loopback int
    	for _, hostIP := range hostIPs.ToSlice() {
    		if net.ParseIP(hostIP).IsLoopback() {
    			loopback++
    		}
    	}
    	return loopback == len(hostIPs)
    }
    
    // UpdateIsLocal - resolves the host and discovers the local host.
    func (endpoints Endpoints) UpdateIsLocal() error {
    	var epsResolved int
    	var foundLocal bool
    	resolvedList := make([]bool, len(endpoints))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. cmd/decommetric_string.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[decomMetricDecommissionBucket-0]
    	_ = x[decomMetricDecommissionObject-1]
    	_ = x[decomMetricDecommissionRemoveObject-2]
    }
    
    const _decomMetric_name = "DecommissionBucketDecommissionObjectDecommissionRemoveObject"
    
    var _decomMetric_index = [...]uint8{0, 18, 36, 60}
    
    func (i decomMetric) String() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 10 19:46:45 UTC 2022
    - 830 bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/server_test.go

    	server.Start(fakeCtx)
    
    	fakeIPSetDeps := ipset.FakeNLDeps()
    	set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps}
    	m := getFakeDPWithIPSet(server, fakeClientSet, set)
    
    	var pod1UID string = string(pod1.ObjectMeta.UID)
    	var pod2UID string = string(pod2.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	// First IP of first pod should error, but we should add the rest
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

    import org.junit.platform.launcher.TestIdentifier
    import org.junit.platform.launcher.TestPlan
    
    object DotListener : TestExecutionListener {
      private var originalSystemErr: PrintStream? = null
      private var originalSystemOut: PrintStream? = null
      private var testCount = 0
    
      override fun executionSkipped(
        testIdentifier: TestIdentifier,
        reason: String,
      ) {
        printStatus("-")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top