Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,917 for Hour (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          var hour = -1
          var minute = -1
          var second = -1
          var dayOfMonth = -1
          var month = -1
          var year = -1
          val matcher = TIME_PATTERN.matcher(s)
    
          while (pos < limit) {
            val end = dateCharacterOffset(s, pos + 1, limit, true)
            matcher.region(pos, end)
    
            when {
              hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser_test.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-profile/src/test/groovy/org/gradle/profile/ProfileReportRendererTest.groovy

    <td class="numeric">30.000s</td>
    <td>Did No Work</td>
    </tr>
    </table>
    </div>
    </div>"""))
        }
    
        private static long time(int hour, int mins, int secs, int ms = 0) {
            def cal = new GregorianCalendar(2010, 1, 5, hour, mins, secs)
            cal.add(Calendar.MILLISECOND, ms)
            cal.getTimeInMillis()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:41:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    package upload
    
    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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				HealthzBindAddress:                        "127.0.0.1",
    				OOMScoreAdj:                               utilpointer.Int32(int32(qos.KubeletOOMScoreAdj)),
    				StreamingConnectionIdleTimeout:            metav1.Duration{Duration: 4 * time.Hour},
    				NodeStatusUpdateFrequency:                 metav1.Duration{Duration: 10 * time.Second},
    				NodeStatusReportFrequency:                 metav1.Duration{Duration: 5 * time.Minute},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  6. pkg/kubelet/util/cache/object_cache_test.go

    	testObj := testObject{
    		key: "foo",
    		val: "bar",
    	}
    	objectCache := NewFakeObjectCache(func() (interface{}, error) {
    		return nil, fmt.Errorf("Unexpected Error: updater should never be called in this test")
    	}, 1*time.Hour, testingclock.NewFakeClock(time.Now()))
    
    	err := objectCache.Add(testObj.key, testObj.val)
    	if err != nil {
    		t.Errorf("Unable to add obj %#v by key: %s", testObj, testObj.key)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. pkg/volume/util/storageclass_test.go

    	"k8s.io/client-go/informers"
    	"k8s.io/kubernetes/pkg/controller"
    )
    
    func TestGetDefaultClass(t *testing.T) {
    
    	var (
    		t1 = time.Now()
    		t2 = time.Now().Add(1 * time.Hour)
    
    		sc1 = &storagev1.StorageClass{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "my-storage-class1",
    				Annotations: map[string]string{
    					"a": "b",
    				},
    			},
    		}
    		sc2 = &storagev1.StorageClass{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 14:18:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            days << [-1, 0]
        }
    
        def "cleanup is triggered after max number of hours expires"() {
            def originalCheckTime = initializeHome()
    
            // One hour isn't enough to trigger
            when:
            // Set the time back 1 hour
            def lastCleanupCheck = markCacheLastCleaned(originalCheckTime - TimeUnit.HOURS.toMillis(1))
            run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. cmd/dynamic-timeouts.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Aug 19 23:21:05 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  10. src/net/tcpsockopt_windows.go

    )
    
    // Default values of KeepAliveTime and KeepAliveInterval on Windows,
    // check out https://learn.microsoft.com/en-us/windows/win32/winsock/sio-keepalive-vals#remarks for details.
    const (
    	defaultKeepAliveIdle     = 2 * time.Hour
    	defaultKeepAliveInterval = time.Second
    )
    
    func setKeepAliveIdle(fd *netFD, d time.Duration) error {
    	if !windows.SupportTCPKeepAliveIdle() {
    		return setKeepAliveIdleAndInterval(fd, d, -1)
    	}
    
    	if d == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top