Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 196 for timerDone (0.55 sec)

  1. docs_src/security/tutorial004_an_py310.py

        return user
    
    
    def create_access_token(data: dict, expires_delta: timedelta | None = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

    class UpdateReleasedVersionsIntegrationTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        @TempDir
        File tmpDir
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "updated released version file has expected format"() {
            given:
            def releasedVersionsFile = new File(tmpDir, "released-versions.json")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

     */
    final class RemoteSnapshotMetadata extends MavenSnapshotMetadata {
        public static final String DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT = "yyyyMMdd.HHmmss";
    
        public static final TimeZone DEFAULT_SNAPSHOT_TIME_ZONE = TimeZone.getTimeZone("Etc/UTC");
    
        private final Map<String, SnapshotVersion> versions = new LinkedHashMap<>();
    
        private final Integer buildNumber;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 10:10:21 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

     */
    package org.codelibs.core.convert;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Calendar;
    import java.util.Locale;
    import java.util.TimeZone;
    
    /**
     * {@link Calendar}用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class CalendarConversionUtil {
    
        /**
         * {@link Calendar}に変換します。
         *
         * @param o
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

    @Singleton
    @Deprecated
    public class SnapshotTransformation extends AbstractVersionTransformation {
        private static final String DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT = "yyyyMMdd.HHmmss";
    
        private static final TimeZone DEFAULT_SNAPSHOT_TIME_ZONE = TimeZone.getTimeZone("Etc/UTC");
    
        private String deploymentTimestamp;
    
        public void transformForResolve(Artifact artifact, RepositoryRequest request) throws ArtifactResolutionException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top