Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 299 for nanoSeconds (0.23 sec)

  1. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static java.lang.Math.min;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.Callable;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. pkg/controller/nodelifecycle/scheduler/rate_limited_queue_test.go

    				t.Fatalf("added time for %s is %v", value.Value, value.AddedAt)
    			}
    
    		case "second":
    			if !value.AddedAt.Equal(time.Unix(0, 2*time.Millisecond.Nanoseconds())) {
    				t.Fatalf("added time for %s is %v", value.Value, value.AddedAt)
    			}
    			if hasQueued {
    				if !value.ProcessAt.Equal(time.Unix(0, 6*time.Millisecond.Nanoseconds())) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 17:40:33 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/cmd/bisect/rand.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Starting in Go 1.20, the global rand is auto-seeded,
    // with a better value than the current Unix nanoseconds.
    // Only seed if we're using older versions of Go.
    
    //go:build !go1.20
    
    package main
    
    import (
    	"math/rand"
    	"time"
    )
    
    func init() {
    	rand.Seed(time.Now().UnixNano())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:10 UTC 2023
    - 442 bytes
    - Viewed (0)
  4. src/runtime/nonwindows_stub.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows
    
    package runtime
    
    // osRelaxMinNS is the number of nanoseconds of idleness to tolerate
    // without performing an osRelax. Since osRelax may reduce the
    // precision of timers, this should be enough larger than the relaxed
    // timer precision to keep the timer error acceptable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 03:12:13 UTC 2024
    - 962 bytes
    - Viewed (0)
  5. tensorflow/c/tf_file_statistics.h

    #define TENSORFLOW_C_TF_FILE_STATISTICS_H_
    
    #include <stdint.h>
    
    typedef struct TF_FileStatistics {
      // The length of the file in bytes.
      int64_t length;
      // The last modified time in nanoseconds.
      int64_t mtime_nsec;
      // Whether the name refers to a directory.
      bool is_directory;
    } TF_FileStatistics;
    
    // TODO(b/139060984): `tensorflow::FileStatistics` from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:21:15 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. src/syscall/types_windows.go

    	FileName        uint16
    }
    
    type Filetime struct {
    	LowDateTime  uint32
    	HighDateTime uint32
    }
    
    // Nanoseconds returns Filetime ft in nanoseconds
    // since Epoch (00:00:00 UTC, January 1, 1970).
    func (ft *Filetime) Nanoseconds() int64 {
    	// 100-nanosecond intervals since January 1, 1601
    	nsec := int64(ft.HighDateTime)<<32 + int64(ft.LowDateTime)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @since 28.0
       */
      default <T> T newProxy(T target, Class<T> interfaceType, Duration timeout) {
        return newProxy(target, interfaceType, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. internal/grid/benchmark_test.go

    						if conn == nil {
    							b.Fatal("No connection")
    						}
    						// Send the payload.
    						t := time.Now()
    						resp, err := conn.Request(ctx, handlerTest, payload)
    						latency += time.Since(t).Nanoseconds()
    						if err != nil {
    							if debugReqs {
    								fmt.Println(err.Error())
    							}
    							b.Fatal(err.Error())
    						}
    						PutByteBuffer(resp)
    						n++
    					}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static java.lang.Math.min;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.Callable;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/DefaultTimer.java

        }
    
        @Override
        public long getElapsedMillis() {
            long elapsedNanos = timeSource.nanoTime() - startTime;
            long elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos);
    
            // System.nanoTime() can go backwards under some circumstances.
            // http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6458294
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top