Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,584 for Hour (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/time/zoneinfo_windows.go

    	// d.DayOfWeek is appropriate weekday (Sunday=0 to Saturday=6)
    	// d.Day is week within the month (1 to 5, where 5 is last week of the month)
    	// d.Hour, d.Minute and d.Second are absolute time
    	day := 1
    	t := Date(year, Month(d.Month), day, int(d.Hour), int(d.Minute), int(d.Second), 0, UTC)
    	i := int(d.DayOfWeek) - int(t.Weekday())
    	if i < 0 {
    		i += 7
    	}
    	day += i
    	if week := int(d.Day) - 1; week < 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_json_timeout.txt

    stdout '"Action":"fail","Package":"p","Elapsed":'
    
    -- go.mod --
    module p
    
    -- x_test.go --
    package p
    
    import (
    	"testing"
    	"time"
    )
    
    func Test(t *testing.T) {
    	time.Sleep(1*time.Hour)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 278 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. .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)
  10. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

                            schedulingPolicy = daily {
                                this.hour = triggerHour
                            }
                        } else {
                            schedulingPolicy = weekly {
                                this.dayOfWeek = ScheduleTrigger.DAY.Saturday
                                this.hour = triggerHour
                            }
                        }
                        triggerBuild = always()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top