Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 213 for timerDone (0.13 sec)

  1. src/go/doc/testdata/benchmark.go

    	N         int
    	benchmark InternalBenchmark
    	bytes     int64
    	timerOn   bool
    	result    BenchmarkResult
    }
    
    // StartTimer starts timing a test. This function is called automatically
    // before a benchmark starts, but it can also used to resume timing after
    // a call to StopTimer.
    func (b *B) StartTimer() {
    	if !b.timerOn {
    		b.start = time.Now()
    		b.timerOn = true
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
    	*out = *in
    	if in.TimeZone != nil {
    		in, out := &in.TimeZone, &out.TimeZone
    		*out = new(string)
    		**out = **in
    	}
    	if in.StartingDeadlineSeconds != nil {
    		in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
    		*out = new(int64)
    		**out = **in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 21:43:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. pkg/controller/cronjob/cronjob_controllerv2.go

    	logger := klog.FromContext(ctx)
    	if cronJob.Spec.TimeZone != nil {
    		timeZone := ptr.Deref(cronJob.Spec.TimeZone, "")
    		if _, err := time.LoadLocation(timeZone); err != nil {
    			logger.V(4).Info("Not starting job because timeZone is invalid", "cronjob", klog.KObj(cronJob), "timeZone", timeZone, "err", err)
    			jm.recorder.Eventf(cronJob, corev1.EventTypeWarning, "UnknownTimeZone", "invalid timeZone: %q: %s", timeZone, err)
    			return nil, updateStatus, nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  4. src/time/zoneinfo_android.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Parse the "tzdata" packed timezone file used on Android.
    // The format is lifted from ZoneInfoDB.java and ZoneInfo.java in
    // java/libcore/util in the AOSP.
    
    package time
    
    import (
    	"errors"
    	"syscall"
    )
    
    var platformZoneSources = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

      }
    
      private fun formatDate(date: Date): String? {
        val rfc1123: DateFormat = SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US)
        rfc1123.timeZone = TimeZone.getTimeZone("GMT")
        return rfc1123.format(date)
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationKotlinDslIntegTest.groovy

                                        organizationUrl.set("https://example.org")
                                        roles.set(listOf("tester", "developer"))
                                        timezone.set("Europe/Berlin")
                                        properties.set(mapOf("user" to "baz.qux"))
                                    }
                                }
                                contributors {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            // logic from metadata.mdo, class "Versioning"
            TimeZone timezone = TimeZone.getTimeZone("UTC");
            DateFormat fmt =
                    new SimpleDateFormat(forSnapshotTimestamp ? DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT : DEFAULT_DATE_FORMAT);
            fmt.setCalendar(new GregorianCalendar());
            fmt.setTimeZone(timezone);
            return fmt.format(date);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. tests/test_jsonable_encoder.py

    from collections import deque
    from dataclasses import dataclass
    from datetime import datetime, timezone
    from decimal import Decimal
    from enum import Enum
    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import Optional
    
    import pytest
    from fastapi._compat import PYDANTIC_V2, Undefined
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel, Field, ValidationError
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/time/tzdata/tzdata.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package tzdata provides an embedded copy of the timezone database.
    // If this package is imported anywhere in the program, then if
    // the time package cannot find tzdata files on the system,
    // it will use this embedded information.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 22:30:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int TID_OFFSET        = 24;
        static final int HEADER_LENGTH     = 32;
    
        static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
        static final TimeZone TZ = TimeZone.getDefault();
    
        static final boolean USE_BATCHING = Config.getBoolean( "jcifs.smb1.smb.client.useBatching", true );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
Back to top