Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 938 for timesTU (0.12 sec)

  1. internal/amztime/parse_test.go

    		},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.timeStr, func(t *testing.T) {
    			gott, goterr := Parse(testCase.timeStr)
    			if !errors.Is(goterr, testCase.expectedErr) {
    				t.Errorf("expected %v, got %v", testCase.expectedErr, goterr)
    			}
    			if !gott.Equal(testCase.expectedTime) {
    				t.Errorf("expected %v, got %v", testCase.expectedTime, gott)
    			}
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 07 14:24:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/image/png/testdata/pngsuite/README.original

     Filter 1 was used 1 times
     Filter 4 was used 31 times
    Testing basn4a16.png: PASS (64 zero samples)
     Filter 0 was used 1 times
     Filter 1 was used 2 times
     Filter 2 was used 1 times
     Filter 4 was used 28 times
    Testing basn6a08.png: PASS (160 zero samples)
     Filter 1 was used 1 times
     Filter 4 was used 31 times
    Testing basn6a16.png: PASS (1072 zero samples)
     Filter 1 was used 4 times
     Filter 4 was used 28 times
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. internal/amztime/parse.go

    }
    
    // ParseHeader parses http.TimeFormat with an acceptable
    // extension for http.TimeFormat - return time might be zero
    // if the timeStr is invalid.
    func ParseHeader(timeStr string) (time.Time, error) {
    	for _, dateFormat := range httpTimeFormats {
    		t, err := time.Parse(dateFormat, timeStr)
    		if err == nil {
    			return t, nil
    		}
    	}
    	return time.Time{}, ErrMalformedDate
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/reflect/iter_test.go

    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    		{"int8", ValueOf(int8(4)), func(t *testing.T, s iter.Seq[Value]) {
    			i := int8(0)
    			for v := range s {
    				if v.Interface().(int8) != i {
    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. test/range.go

    	}
    	if nmake != 1 {
    		println("range called makeslice", nmake, "times")
    		panic("fail")
    	}
    	if s != 10 {
    		println("wrong sum ranging over makeslice", s)
    		panic("fail")
    	}
    }
    
    func testslice2() {
    	n := 0
    	nmake = 0
    	for range makeslice() {
    		n++
    	}
    	if nmake != 1 {
    		println("range called makeslice", nmake, "times")
    		panic("fail")
    	}
    	if n != 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 05:50:54 UTC 2017
    - 8.1K bytes
    - Viewed (0)
  7. testing/soak/src/integTest/groovy/org/gradle/jvm/JavaCompilationSoakTest.groovy

            }
        }
    
        def "can recompile many times in a row with a changing set of compiler daemons"() {
            expect:
            10.times {
                println("Run $it")
                succeeds("clean", "assemble", "-Pcounter="+it)
            }
        }
    
        def "can recompile many times in a row with a reused compiler daemon"() {
            expect:
            10.times {
                println("Run $it")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go

    }
    
    // WithSELinuxOptions sets the SELinuxOptions field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the SELinuxOptions field is set to the value of the last call.
    func (b *PodSecurityContextApplyConfiguration) WithSELinuxOptions(value *SELinuxOptionsApplyConfiguration) *PodSecurityContextApplyConfiguration {
    	b.SELinuxOptions = value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go

    func (b *ContainerStatusApplyConfiguration) WithImageID(value string) *ContainerStatusApplyConfiguration {
    	b.ImageID = &value
    	return b
    }
    
    // WithContainerID sets the ContainerID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go

    }
    
    // WithName sets the Name field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Name field is set to the value of the last call.
    func (b *JobTemplateSpecApplyConfiguration) WithName(value string) *JobTemplateSpecApplyConfiguration {
    	b.ensureObjectMetaApplyConfigurationExists()
    	b.Name = &value
    	return b
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top