Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,293 for tims (0.07 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go

    	}
    	return false
    }
    
    // Unix returns the local time corresponding to the given Unix time
    // by wrapping time.Unix.
    func Unix(sec int64, nsec int64) Time {
    	return Time{time.Unix(sec, nsec)}
    }
    
    // Rfc3339Copy returns a copy of the Time at second-level precision.
    func (t Time) Rfc3339Copy() Time {
    	copied, _ := time.Parse(time.RFC3339, t.Format(time.RFC3339))
    	return Time{copied}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/testdata/time.gox

    >) <type 2 chan <- <type 3 "Time" <type 4 struct { .time.sec <type -4>; .time.nsec <type -3>; .time.loc <type 5 *<type 6 "Location" <type 7 struct { .time.name <type -16>; .time.zone <type 8 [] <type 9 ".time.zone" <type 10 struct { .time.name <type -16>; .time.offset <type -11>; .time.isDST <type -15>; }>>>; .time.tx <type 11 [] <type 12 ".time.zoneTrans" <type 13 struct { .time.when <type -4>; .time.index <type -5>; .time.isstd <type -15>; .time.isutc <type -15>; }>>>; .time.cacheStart...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Time.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.time;
    
    import java.util.concurrent.TimeUnit;
    
    /**
     * Instruments for observing time.
     */
    public abstract class Time {
    
        private static final Clock CLOCK = new MonotonicClock();
    
        /**
         * A clock that is guaranteed not to go backwards.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/1-time.md

    ### Timer changes
    
    Go 1.23 makes two significant changes to the implementation of
    [time.Timer] and [time.Ticker].
    
    <!-- go.dev/issue/61542 -->
    First, `Timer`s and `Ticker`s that are no longer referred to by the program
    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. pkg/test/loadbalancersim/timeseries/instance.go

    	defer ts.mutex.Unlock()
    	return ts.data.Copy(), ts.times.asDurationSinceEpoch(epoch)
    }
    
    type times []time.Time
    
    func (t times) copy() times {
    	out := make(times, 0, len(t))
    	out = append(out, t...)
    	return out
    }
    
    func (t times) asDurationSinceEpoch(epoch time.Time) []time.Duration {
    	out := make([]time.Duration, 0, len(t))
    	for _, tm := range t {
    		out = append(out, tm.Sub(epoch))
    	}
    	return out
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/topological_sort.h

    // if (and only if) op1 is in extra_dependencies(op2, true), then op2
    // must also be in extra_dependencies(op1, false).
    // This function is called multiple times during the topological sort,
    // so the implementation should preferably be constant-time.
    typedef llvm::function_ref<llvm::SmallVector<Operation *, 4> const &(
        Operation *, bool incoming)>
        ExtraDependenciesFunction;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 08 17:01:11 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields.go

    type ManagedInterface interface {
    	// Fields gets the fieldpath.ManagedFields.
    	Fields() fieldpath.ManagedFields
    
    	// Times gets the timestamps associated with each operation.
    	Times() map[string]*metav1.Time
    }
    
    type managedStruct struct {
    	fields fieldpath.ManagedFields
    	times  map[string]*metav1.Time
    }
    
    var _ ManagedInterface = &managedStruct{}
    
    // Fields implements ManagedInterface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    		filterCompletedAtGot time.Time
    	)
    	handler := http.HandlerFunc(func(_ http.ResponseWriter, req *http.Request) {
    		// we expect the handler to be invoked just once.
    		handlerCallCount++
    	})
    
    	requestFilterEndedAt := time.Now()
    	wrapped := trackCompleted(handler, testingclock.NewFakeClock(requestFilterEndedAt), func(_ context.Context, fr *requestFilterRecord, completedAt time.Time) {
    		actionCallCount++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/atmostevery_test.go

    */
    
    package internal_test
    
    import (
    	"testing"
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/managedfields/internal"
    )
    
    func TestAtMostEvery(t *testing.T) {
    	duration := time.Second
    	delay := 179 * time.Millisecond
    	atMostEvery := internal.NewAtMostEvery(delay)
    	count := 0
    	exit := time.NewTicker(duration)
    	tick := time.NewTicker(2 * time.Millisecond)
    	defer exit.Stop()
    	defer tick.Stop()
    
    	done := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

    
            Guava's main yardstick for evaluating proposed features can be summed up as [utility times
            ubiquity](https://github.com/google/guava/wiki/PhilosophyExplained#utility-times-ubiquity).
    
    
            #### Utility: compare with alternatives
    
    
            There is always *some* alternative to adding a new feature to Guava, even if it's just
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top