Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 400 for late (0.43 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    import (
    	"fmt"
    	"os"
    	"sync"
    	"time"
    
    	"golang.org/x/telemetry/internal/counter"
    )
    
    // time and date handling
    
    var distantPast = 21 * 24 * time.Hour
    
    // reports that are too old (21 days) are not uploaded
    func (u *uploader) tooOld(date string, uploadStartTime time.Time) bool {
    	t, err := time.Parse("2006-01-02", date)
    	if err != nil {
    		u.logger.Printf("tooOld: %v", err)
    		return false
    	}
    	age := uploadStartTime.Sub(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    			for i := 0; i < abi.MapBucketCount; i++ {
    				if k < n && b.tophash[i] == emptyRest {
    					panic("early emptyRest")
    				}
    				if k >= n && b.tophash[i] != emptyRest {
    					panic("late non-emptyRest")
    				}
    				if k == n-1 && b.tophash[i] == emptyOne {
    					panic("last non-emptyRest entry is emptyOne")
    				}
    				k++
    			}
    		}
    	}
    }
    
    func RunGetgThreadSwitchTest() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. src/os/exec/exec_test.go

    		// This program exits with status 0,
    		// but pretty much always does so during the wait delay.
    		// Since the Cmd itself didn't do anything to stop the process when the
    		// context expired, a successful exit is valid (even if late) and does
    		// not merit a non-nil error.
    		if err != nil {
    			t.Errorf("Wait: %v; want nil", err)
    		}
    		if ps := cmd.ProcessState; !ps.Exited() {
    			t.Errorf("cmd did not exit: %v", ps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // bits in a type, PPC64 shifts do not (see the ISA for details).
    //
    // Note, y is always non-negative.
    //
    // Note, ISELZ is intentionally not used in lower. Where possible, ISEL is converted to ISELZ in late lower
    // after all the ISEL folding rules have been exercised.
    
    ((Rsh64U|Lsh64)x64 <t> x y)  => (ISEL [0] (S(R|L)D <t> x y) (MOVDconst [0])        (CMPUconst y [64]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. src/runtime/malloc.go

    // simpler code to avoid floating point.
    func nextSampleNoFP() uintptr {
    	// Set first allocation sample size.
    	rate := MemProfileRate
    	if rate > 0x3fffffff { // make 2*rate not overflow
    		rate = 0x3fffffff
    	}
    	if rate != 0 {
    		return uintptr(cheaprandn(uint32(2 * rate)))
    	}
    	return 0
    }
    
    type persistentAlloc struct {
    	base *notInHeap
    	off  uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. samples/ratelimit/rate-limit-service.yaml

    ##################################################################################################
    # Redis service and deployment
    # Ratelimit service and deployment
    
    # Note: a configmap is needed to make the rate limit deployment work properly, for example:
    #
    #  apiVersion: v1
    #  kind: ConfigMap
    #  metadata:
    #    name: ratelimit-config
    #  data:
    #    config.yaml: |
    #      domain: echo-ratelimit
    #      descriptors:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/net/http/server.go

    	// 1xx class or the modified headers are trailers.
    	//
    	// There are two ways to set Trailers. The preferred way is to
    	// predeclare in the headers which trailers you will later
    	// send by setting the "Trailer" header to the names of the
    	// trailer keys which will come later. In this case, those
    	// keys of the Header map are treated as if they were
    	// trailers. See the example. The second way, for trailer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    		return nil
    	}
    
    	// Deliver pconn to goroutine waiting for idle connection, if any.
    	// (They may be actively dialing, but this conn is ready first.
    	// Chrome calls this socket late binding.
    	// See https://www.chromium.org/developers/design-documents/network-stack#TOC-Connection-Management.)
    	key := pconn.cacheKey
    	if q, ok := t.idleConnWait[key]; ok {
    		done := false
    		if pconn.alt == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	// Parse the bucket modtime
    	creationTime, err := time.Parse(iso8601TimeFormat, createdBucket.CreationDate)
    	c.Assert(err, nil)
    
    	// Check if bucket modtime is consistent (not less than current time and not late more than 5 minutes)
    	timeNow := time.Now().UTC()
    	c.Assert(creationTime.Before(timeNow), true)
    	c.Assert(timeNow.Sub(creationTime) < time.Minute*5, true)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go

    	// TODO(rfindley): use dateFormat throughout.
    )
    
    // uploadReportDate returns the date component of the upload file name, or "" if the
    // date was unmatched.
    func (u *uploader) uploadReportDate(fname string) time.Time {
    	match := dateRE.FindStringSubmatch(fname)
    	if match == nil || len(match) < 2 {
    		u.logger.Printf("malformed report name: missing date: %q", filepath.Base(fname))
    		return time.Time{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top