Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for minItems (0.04 sec)

  1. tests/test_tuples.py

                                    "schema": {
                                        "title": "Square",
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array",
                                        "prefixItems": [
                                            {"$ref": "#/components/schemas/Coordinate"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        maxLength: Optional[int] = Field(default=None, ge=0)
        minLength: Optional[int] = Field(default=None, ge=0)
        pattern: Optional[str] = None
        maxItems: Optional[int] = Field(default=None, ge=0)
        minItems: Optional[int] = Field(default=None, ge=0)
        uniqueItems: Optional[bool] = None
        maxContains: Optional[int] = Field(default=None, ge=0)
        minContains: Optional[int] = Field(default=None, ge=0)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

      public void testSchedule() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    
        Future<?> unused1 = testExecutor.schedule(DO_NOTHING, 10, MINUTES);
        mock.assertLastMethodCalled("scheduleRunnable", 10, MINUTES);
    
        Future<?> unused2 = testExecutor.schedule(callable(DO_NOTHING), 5, SECONDS);
        mock.assertLastMethodCalled("scheduleCallable", 5, SECONDS);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        CacheBuilderSpec spec = parse("expireAfterWrite=10m");
        assertThat(spec.writeExpirationTimeUnit).isEqualTo(MINUTES);
        assertThat(spec.writeExpirationDuration).isEqualTo(10L);
        assertCacheBuilderEquivalence(
            CacheBuilder.newBuilder().expireAfterWrite(10L, MINUTES), CacheBuilder.from(spec));
      }
    
      public void testParse_writeExpirationSeconds() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

     * Currently this pool holds up to 5 idle connections which will be evicted after 5 minutes of
     * inactivity.
     */
    class ConnectionPool internal constructor(
      internal val delegate: RealConnectionPool,
    ) {
      internal constructor(
        maxIdleConnections: Int = 5,
        keepAliveDuration: Long = 5,
        timeUnit: TimeUnit = TimeUnit.MINUTES,
        taskRunner: TaskRunner = TaskRunner.INSTANCE,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. cmd/bucket-stats.go

    	minutes := time.Now().Unix() / 60
    	l.forwardTo(minutes)
    	winIdx := minutes % 60
    	l.Totals[winIdx].merge(AccElem{Total: minutes, Size: sz, N: 1})
    	l.LastMin = minutes
    }
    
    // Merge all recorded counts of last hour into one
    func (l *ReplicationLastHour) getTotal() AccElem {
    	var res AccElem
    	minutes := time.Now().Unix() / 60
    	l.forwardTo(minutes)
    	for _, elem := range l.Totals[:] {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. docs_src/security/tutorial004_an_py39.py

        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
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

            long minutes = duration.toMinutesPart();
            long seconds = duration.toSecondsPart();
            long millis = duration.toMillisPart();
    
            if (days > 0) {
                return String.format("%d d %02d:%02d h", days, hours, minutes);
            } else if (hours > 0) {
                return String.format("%02d:%02d h", hours, minutes);
            } else if (minutes > 0) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 15:02:53 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/alerts.md

          description: "MinIO instance {{ $labels.server }} of job {{ $labels.job }} has lost quorum on pool {{ $labels.pool }} on set {{ $labels.set }} for more than 5 minutes."
    ```
    
    ## Verify the configuration and alerts
    To verify the above sample alert follow below steps
    
    1. Start a distributed MinIO instance (4 nodes setup)
    2. Start Prometheus server and AlertManager
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 23 15:13:23 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. internal/s3select/sql/timestampfuncs.go

    		return FromInt(int64(duration / (24 * time.Hour))), nil
    	case timePartHour:
    		hours := duration / time.Hour
    		return FromInt(int64(hours)), nil
    	case timePartMinute:
    		minutes := duration / time.Minute
    		return FromInt(int64(minutes)), nil
    	case timePartSecond:
    		seconds := duration / time.Second
    		return FromInt(int64(seconds)), nil
    	default:
    	}
    	return nil, errNotImplemented
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top