Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 214 for minuta (0.17 sec)

  1. cmd/post-policy_test.go

    	return signature
    }
    
    func newPostRequestV2(endPoint, bucketName, objectName string, accessKey, secretKey string) (*http.Request, error) {
    	// Expire the request five minutes from now.
    	expirationTime := UTCNow().Add(time.Minute * 5)
    	// Create a new post policy.
    	policy := newPostPolicyBytesV2(bucketName, objectName, expirationTime)
    	// Only need the encoding.
    	encodedPolicy := base64.StdEncoding.EncodeToString(policy)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/local-locker_test.go

    	}
    	if len(l.lockUID) != len(rResources)+len(wResources) {
    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources), len(wResources))
    	}
    
    	// Expire a minute ago.
    	l.expireOldLocks(-time.Minute)
    	if len(l.lockMap) != 0 {
    		t.Fatalf("after cleanup should be empty, got %d", len(l.lockMap))
    	}
    	if len(l.lockUID) != 0 {
    		t.Fatalf("lockUID len, got %d, want %d", len(l.lockUID), 0)
    	}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

                    }
                }
            }
        }
    
    
        protected void initProtocolVersions ( String minStr, String maxStr ) {
            DialectVersion min = ( minStr != null && !minStr.isEmpty() ) ? DialectVersion.valueOf(minStr) : null;
            DialectVersion max = ( maxStr != null && !maxStr.isEmpty() ) ? DialectVersion.valueOf(maxStr) : null;
            initProtocolVersions(min, max);
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  4. cmd/data-usage-cache.go

    	// By default, empty data usage cache
    	*d = dataUsageCache{}
    
    	load := func(name string, timeout time.Duration) (bool, error) {
    		// Abandon if more than time.Minute, so we don't hold up scanner.
    		// drive timeout by default is 2 minutes, we do not need to wait longer.
    		ctx, cancel := context.WithTimeout(ctx, timeout)
    		defer cancel()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. docs/debugging/pprofgoparser/main.go

    			}
    		case record:
    			save(line)
    		default:
    			z := goroutinesRE.FindStringSubmatch(line)
    			if len(z) == 3 {
    				if z[2] != "" {
    					a, _ := strconv.Atoi(z[2])
    					t = time.Duration(a) * time.Minute
    					save(line)
    					record = true
    				} else {
    					skip = true
    				}
    			}
    		}
    	}
    
    	return ret, nil
    }
    
    const helpUsage = `
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/config/policy/plugin/config.go

    		enableHTTP2, err = config.ParseBool(v)
    		if err != nil {
    			return args, err
    		}
    	}
    	httpSettings.EnableHTTP2 = enableHTTP2
    	transport := httpSettings.NewHTTPTransportWithTimeout(time.Minute)
    
    	args = Args{
    		URL:         u,
    		AuthToken:   getCfg(AuthToken),
    		Transport:   transport,
    		CloseRespFn: closeRespFn,
    	}
    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. internal/config/identity/tls/config.go

    	// debugging or testing purposes.
    	InsecureSkipVerify bool `json:"skip_verify"`
    }
    
    const (
    	defaultExpiry time.Duration = 1 * time.Hour
    	minExpiry     time.Duration = 15 * time.Minute
    	maxExpiry     time.Duration = 365 * 24 * time.Hour
    )
    
    // GetExpiryDuration - return parsed expiry duration.
    func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) {
    	if dsecs == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        CacheBuilderSpec spec = parse("expireAfterWrite=10m");
        assertEquals(TimeUnit.MINUTES, spec.writeExpirationTimeUnit);
        assertEquals(10L, spec.writeExpirationDuration);
        assertCacheBuilderEquivalence(
            CacheBuilder.newBuilder().expireAfterWrite(10L, TimeUnit.MINUTES), CacheBuilder.from(spec));
      }
    
      public void testParse_writeExpirationSeconds() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  9. cmd/shared-lock.go

    package cmd
    
    import (
    	"context"
    	"time"
    )
    
    var sharedLockTimeout = newDynamicTimeoutWithOpts(dynamicTimeoutOpts{
    	timeout:       30 * time.Second,
    	minimum:       10 * time.Second,
    	retryInterval: time.Minute,
    })
    
    type sharedLock struct {
    	lockContext chan LockContext
    }
    
    func (ld sharedLock) backgroundRoutine(ctx context.Context, objAPI ObjectLayer, lockName string) {
    	for {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 13 09:26:38 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/StagePasses.kt

                        dayOfWeek = ScheduleTrigger.DAY.Saturday
                        hour = 1
                    }
                } else {
                    schedulingPolicy = daily {
                        hour = 0
                        minute = 30
                    }
                }
                triggerBuild = always()
                withPendingChangesOnly = true
                param("revisionRule", "lastFinished")
                branchFilter = model.branch.branchFilter()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top