Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Howard (0.19 sec)

  1. cmd/dynamic-timeouts.go

    	} else if failPct < dynamicTimeoutDecreaseThresholdPct {
    		// We are hitting the timeout relatively few times,
    		// so decrease the timeout towards 25 % of maximum time spent.
    		max = max * 125 / 100
    
    		timeout := atomic.LoadInt64(&dt.timeout)
    		if max < time.Duration(timeout) {
    			// Move 50% toward the max.
    			timeout = (int64(max) + timeout) / 2
    		}
    		if timeout < dt.minimum {
    			timeout = dt.minimum
    		}
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. cni/pkg/ambient/constants/constants.go

    	ChainZTunnelInput       = "ztunnel-INPUT"
    	ChainZTunnelOutput      = "ztunnel-OUTPUT"
    	ChainZTunnelForward     = "ztunnel-FORWARD"
    
    	ChainPrerouting  = "PREROUTING"
    	ChainPostrouting = "POSTROUTING"
    	ChainInput       = "INPUT"
    	ChainOutput      = "OUTPUT"
    	ChainForward     = "FORWARD"
    
    	TableMangle = "mangle"
    	TableNat    = "nat"
    	TableFilter = "filter"
    
    	DNSCapturePort              = 15053
    Go
    - Registered: Wed Jan 24 22:53:09 GMT 2024
    - Last Modified: Mon Dec 04 17:04:00 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. istioctl/pkg/metrics/metrics.go

    	}
    
    	if err = fw.Start(); err != nil {
    		return fmt.Errorf("failure running port forward process: %v", err)
    	}
    
    	// Close the forwarder either when we exit or when an this processes is interrupted.
    	defer fw.Close()
    	dashboard.ClosePortForwarderOnInterrupt(fw)
    
    	log.Debugf("port-forward to prometheus pod ready")
    
    	promAPI, err := prometheusAPI(fmt.Sprintf("http://%s", fw.Address()))
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. istioctl/pkg/dashboard/dashboard.go

    		ClosePortForwarderOnInterrupt(fw)
    
    		log.Debugf(fmt.Sprintf("port-forward to %s pod ready", flavor))
    		openBrowser(fmt.Sprintf(urlFormat, fw.Address()), writer, browser)
    
    		// Wait for stop
    		fw.WaitForStop()
    
    		return nil
    	}
    
    	return fmt.Errorf("failure running port forward process: %v", err)
    }
    
    func ClosePortForwarderOnInterrupt(fw kube.PortForwarder) {
    	go func() {
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  5. cmd/metacache-walk.go

    	var scanDir func(path string) error
    
    	scanDir = func(current string) error {
    		// Skip forward, if requested...
    		sb := bytebufferpool.Get()
    		defer func() {
    			sb.Reset()
    			bytebufferpool.Put(sb)
    		}()
    
    		forward := ""
    		if len(opts.ForwardTo) > 0 && strings.HasPrefix(opts.ForwardTo, current) {
    			forward = strings.TrimPrefix(opts.ForwardTo, current)
    			// Trim further directories and trailing slash.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. cmd/data-usage.go

    		}
    	}
    
    	var dataUsageInfo DataUsageInfo
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(buf, &dataUsageInfo); err != nil {
    		return DataUsageInfo{}, err
    	}
    	// For forward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketsUsage) == 0 {
    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. cmd/metacache-stream.go

    	}
    	if r.current.name != "" {
    		return false
    	}
    	_, err := r.peek()
    	if err != nil {
    		r.err = err
    		return r.err == io.EOF
    	}
    	return false
    }
    
    // forwardTo will forward to the first entry that is >= s.
    // Will return io.EOF if end of stream is reached without finding any.
    func (r *metacacheReader) forwardTo(s string) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. tests/embedded_struct_test.go

    	} else if news.Title != "hn_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_news"}, Author: &Author{Name: "Edward"}})
    	DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_article"}, Author: &Author{Name: "George"}})
    	var egNews EngadgetPost
    	if err := DB.First(&egNews, "title = ?", "engadget_news").Error; err != nil {
    Go
    - Registered: Sun Apr 14 09:35:11 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		if configRetriableErrors(err) {
    			return fmt.Errorf("Unable to initialize config system: %w", err)
    		}
    
    		// Any other config errors we simply print a message and proceed forward.
    		configLogIf(ctx, fmt.Errorf("Unable to initialize config, some features may be missing: %w", err))
    	}
    
    	return nil
    }
    
    func setGlobalInternodeInterface(interfaceName string) {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 32.8K bytes
    - Viewed (1)
  10. src/archive/tar/common.go

    	paxUname: true, paxGname: true, paxMtime: true, paxAtime: true, paxCtime: true,
    }
    
    // A Header represents a single header in a tar archive.
    // Some fields may not be populated.
    //
    // For forward compatibility, users that retrieve a Header from Reader.Next,
    // mutate it in some ways, and then pass it back to Writer.WriteHeader
    // should do so by creating a new Header and copying the fields
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top