Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,234 for Hour (0.09 sec)

  1. src/net/conf_test.go

    		t.Fatal("failed to change resolv config")
    	}
    
    	setSystemNSS(nssStr(t, "hosts: files myhostname dns"), time.Hour)
    	cnf := &conf{}
    	order, _ := cnf.addrLookupOrder(nil, "192.0.2.1")
    	if order != hostLookupCgo {
    		t.Errorf("addrLookupOrder returned: %v, want cgo", order)
    	}
    
    	setSystemNSS(nssStr(t, "hosts: files mdns4 dns"), time.Hour)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:46:36 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/time/example_test.go

    	afterTenHours := start.Add(time.Hour * 10)
    	afterTenDays := start.Add(time.Hour * 24 * 10)
    
    	fmt.Printf("start = %v\n", start)
    	fmt.Printf("start.Add(time.Second * 10) = %v\n", afterTenSeconds)
    	fmt.Printf("start.Add(time.Minute * 10) = %v\n", afterTenMinutes)
    	fmt.Printf("start.Add(time.Hour * 10) = %v\n", afterTenHours)
    	fmt.Printf("start.Add(time.Hour * 24 * 10) = %v\n", afterTenDays)
    
    	// Output:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. src/time/tick_test.go

    			}
    		})
    	}
    
    	run(t, "After", func() { After(Hour) })
    	run(t, "Tick", func() { Tick(Hour) })
    	run(t, "NewTimer", func() { NewTimer(Hour) })
    	run(t, "NewTicker", func() { NewTicker(Hour) })
    	run(t, "NewTimerStop", func() { NewTimer(Hour).Stop() })
    	run(t, "NewTickerStop", func() { NewTicker(Hour).Stop() })
    }
    
    func TestChan(t *testing.T) {
    	for _, name := range []string{"0", "1", "2"} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/time/format_test.go

    	// issue 67470
    	{"-07", "-25", "time zone offset hour out of range"},
    	{"-07:00", "+25:00", "time zone offset hour out of range"},
    	{"-07:00", "-23:61", "time zone offset minute out of range"},
    	{"-07:00:00", "+23:59:61", "time zone offset second out of range"},
    	{"Z07", "-25", "time zone offset hour out of range"},
    	{"Z07:00", "+25:00", "time zone offset hour out of range"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. src/crypto/x509/hybrid_pool_test.go

    		Subject:               pkix.Name{CommonName: "Go test root"},
    		IsCA:                  true,
    		BasicConstraintsValid: true,
    		NotBefore:             time.Now().Add(-time.Hour),
    		NotAfter:              time.Now().Add(time.Hour * 10),
    	}
    	k, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatalf("failed to generate test key: %s", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:48:11 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. cmd/license-update.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 Apr 04 12:04:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. pkg/wasm/options.go

    // limitations under the License.
    
    package wasm
    
    import (
    	"time"
    
    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	DefaultPurgeInterval         = 1 * time.Hour
    	DefaultModuleExpiry          = 24 * time.Hour
    	DefaultHTTPRequestTimeout    = 15 * time.Second
    	DefaultHTTPRequestMaxRetries = 5
    )
    
    // Options contains configurations to create a Cache instance.
    type Options struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. .github/workflows/feedback.yml

    name: Feedback
    
    on:
      schedule:
        - cron: '0 * * * *' # every hour
      workflow_dispatch:
    
    permissions: {}
    
    jobs:
      feedback:
        permissions:
          issues: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          # Feedback loop: ask for something on PR/Issue and close if not provided or return to the queue on update.
          # https://github.com/gradle/issue-management-action/blob/main/src/feedback.ts
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 516 bytes
    - Viewed (1)
  9. security/pkg/nodeagent/cache/secretcache_test.go

    			created:     now,
    			expire:      now.Add(time.Hour),
    			gracePeriod: 0.5,
    			expected:    time.Minute * 30,
    		},
    		{
    			name:        "grace period .25",
    			created:     now,
    			expire:      now.Add(time.Hour),
    			gracePeriod: 0.25,
    			expected:    time.Minute * 45,
    		},
    		{
    			name:        "grace period .75",
    			created:     now,
    			expire:      now.Add(time.Hour),
    			gracePeriod: 0.75,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. src/time/time.go

    //
    //go:linkname absClock
    func absClock(abs uint64) (hour, min, sec int) {
    	sec = int(abs % secondsPerDay)
    	hour = sec / secondsPerHour
    	sec -= hour * secondsPerHour
    	min = sec / secondsPerMinute
    	sec -= min * secondsPerMinute
    	return
    }
    
    // Hour returns the hour within the day specified by t, in the range [0, 23].
    func (t Time) Hour() int {
    	return int(t.abs()%secondsPerDay) / secondsPerHour
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
Back to top