Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,963 for tims (1.33 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. src/archive/zip/testdata/time-go.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 148 bytes
    - Viewed (0)
  6. src/archive/zip/testdata/time-win7.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 114 bytes
    - Viewed (0)
  7. src/archive/zip/testdata/time-winzip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:50:28 UTC 2017
    - 150 bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/testdata/testprogcgo/cgo.go

    			times = append(times, time.Since(start))
    		case <-time.After(time.Second):
    			fmt.Printf("HANG 1 %v\n", times)
    			return
    		}
    	}
    	ping <- true
    	select {
    	case <-ping:
    	case <-time.After(time.Second):
    		fmt.Printf("HANG 2 %v\n", times)
    		return
    	}
    	fmt.Printf("OK\n")
    }
    
    func CgoTraceback() {
    	C.foo1()
    	buf := make([]byte, 1)
    	runtime.Stack(buf, true)
    	fmt.Printf("OK\n")
    }
    
    func CgoCheckBytes() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 13:20:27 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top