Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. internal/grid/connection.go

    		Payload:    make([]byte, pingMsg{}.Msgsize()),
    	}
    
    	defer ping.Stop()
    	queue := make([][]byte, 0, maxMergeMessages)
    	merged := make([]byte, 0, writeBufferSize)
    	var queueSize int
    	var buf bytes.Buffer
    	var wsw wsWriter
    	var lastSetDeadline time.Time
    
    	// Helper to write everything in buf.
    	// Return false if an error occurred and the connection is unusable.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/archive/tar/writer.go

    		// Write each record to a buffer.
    		var buf strings.Builder
    		// Sort keys for deterministic ordering.
    		for _, k := range slices.Sorted(maps.Keys(paxHdrs)) {
    			rec, err := formatPAXRecord(k, paxHdrs[k])
    			if err != nil {
    				return err
    			}
    			buf.WriteString(rec)
    		}
    
    		// Write the extended header file.
    		var name string
    		var flag byte
    		if isGlobal {
    			name = realName
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top