Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 645 for earliest (0.13 sec)

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

    			continue
    		}
    
    		if end.Before(thisInstant) {
    			expiry := end.Format(dateFormat)
    			countFiles[expiry] = append(countFiles[expiry], f)
    			if earliest[expiry].IsZero() || earliest[expiry].After(begin) {
    				earliest[expiry] = begin
    			}
    		}
    	}
    	for expiry, files := range countFiles {
    		if notNeeded(expiry, *todo) {
    			u.logger.Printf("Files for %s not needed, deleting %v", expiry, files)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/net/dial.go

    	}
    	return b
    }
    
    // deadline returns the earliest of:
    //   - now+Timeout
    //   - d.Deadline
    //   - the context's deadline
    //
    // Or zero, if none of Timeout, Deadline, or context's deadline is set.
    func (d *Dialer) deadline(ctx context.Context, now time.Time) (earliest time.Time) {
    	if d.Timeout != 0 { // including negative, for historical reasons
    		earliest = now.Add(d.Timeout)
    	}
    	if d, ok := ctx.Deadline(); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

     * task should not be executed again. Otherwise it returns a delay until the next execution.
     *
     * A task has at most one next execution. If the same task instance is scheduled multiple times, the
     * earliest one wins. This applies to both executions scheduled with [TaskRunner.Queue.schedule] and
     * those implied by the returned execution delay.
     *
     * Cancellation
     * ------------
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. pkg/test/loadbalancersim/loadbalancer/edf.go

    // Pop implements heap.Interface for popping an item from the heap
    func (pq *priorityQueue) Pop() any {
    	old := *pq
    	n := len(old)
    	entry := old[n-1]
    	*pq = old[0 : n-1]
    	return entry
    }
    
    // EDF implements the Earliest Deadline First scheduling algorithm
    type EDF struct {
    	pq              *priorityQueue
    	currentIndex    int64
    	currentDeadline float64
    }
    
    // Add a new entry for load balance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/cover/testdata/main.go

    	index := -1
    	indexLo := uint32(1e9)
    	for i := range coverTest.Count {
    		lo, hi := coverTest.Pos[3*i], coverTest.Pos[3*i+1]
    		if lo == line && line == hi {
    			return coverTest.Count[i], i
    		}
    		// Choose the earliest match (the counters are in unpredictable order).
    		if lo <= line && line <= hi && indexLo > lo {
    			index = i
    			indexLo = lo
    		}
    	}
    	if index == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 16:40:40 UTC 2016
    - 3K bytes
    - Viewed (0)
  6. pkg/channels/unbounded.go

    	b.mu.Lock()
    	if len(b.backlog) == 0 {
    		select {
    		case b.c <- t:
    			b.mu.Unlock()
    			return
    		default:
    		}
    	}
    	b.backlog = append(b.backlog, t)
    	b.mu.Unlock()
    }
    
    // Load sends the earliest buffered data, if any, onto the read channel
    // returned by Get(). Users are expected to call this every time they read a
    // value from the read channel.
    func (b *Unbounded[T]) Load() {
    	b.mu.Lock()
    	if len(b.backlog) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 31 19:53:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. pkg/kubelet/pod_container_deletor.go

    	}
    }
    
    // getContainersToDeleteInPod returns the exited containers in a pod whose name matches the name inferred from filterContainerId (if not empty), ordered by the creation time from the latest to the earliest.
    // If filterContainerID is empty, all dead containers in the pod are returned.
    func getContainersToDeleteInPod(filterContainerID string, podStatus *kubecontainer.PodStatus, containersToKeep int) containerStatusbyCreatedList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 4K bytes
    - Viewed (0)
  8. pkg/test/loadbalancersim/timer/queue.go

    	q.mutex.Lock()
    	handlers := q.heap.advanceTo(time.Now())
    	q.mutex.Unlock()
    
    	// Call the expired timer handlers.
    	for _, h := range handlers {
    		h()
    	}
    
    	// Reset the timer based on the earliest deadline.
    	q.resetTimer()
    }
    
    type entry struct {
    	deadline time.Time
    	handler  func()
    	index    int
    }
    
    type timerHeap []*entry
    
    func (h timerHeap) peek() *entry {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. doc/godebug.md

    The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
    There are no runtime metrics for this change,
    This setting may be removed in a future release, Go 1.27 at the earliest.
    
    Go 1.23 changed the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat)
    for reparse points, which can be controlled with the `winsymlink` setting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    //   TOC -> NOTOC (R2 is preserved, st_other==0): A special case where a call stub is not needed.
    
    // This test requires a binutils with power10 and ELFv2 1.5 support. This is earliest verified version.
    .if .gasversion. >= 23500
    
    // A function which does not guarantee R2 is preserved.
    // R2 is clobbered here to ensure the stubs preserve it.
    	.globl	notoc_nor2_func
    	.type	notoc_nor2_func, @function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top