Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for addLater (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            configurations["testRuntimeClasspath"].extendsFrom(platformImplementation)
            // use lazy API to not attempt to find platform project during script compilation
            platformImplementation.dependencies.addLater(provider {
                project.dependencies.platform(project.dependencies.create(project(":distributions-dependencies")))
            })
        }
    }
    
    fun addCompileAllTasks() {
        tasks.register("compileAll") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  2. internal/s3select/sql/timestampfuncs.go

    	var duration time.Duration
    	switch timePart {
    	case timePartYear:
    		return FromTimestamp(t.AddDate(int(qty), 0, 0)), nil
    	case timePartMonth:
    		return FromTimestamp(t.AddDate(0, int(qty), 0)), nil
    	case timePartDay:
    		return FromTimestamp(t.AddDate(0, 0, int(qty))), nil
    	case timePartHour:
    		duration = time.Duration(qty) * time.Hour
    	case timePartMinute:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. cmd/postpolicyform_test.go

    	}
    
    	// Run tests
    	for _, tt := range testCases {
    		t.Run(tt.name, func(t *testing.T) {
    			if tt.expired {
    				// Expired already.
    				pp.SetExpires(UTCNow().AddDate(0, 0, -10))
    			} else {
    				// Expires in 10 days.
    				pp.SetExpires(UTCNow().AddDate(0, 0, 10))
    			}
    
    			tt.fv.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String())))
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. cmd/signature-v4_test.go

    			expected: ErrUnsignedHeaders,
    		},
    		// (4) Should give an expired request if it has expired.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":      signV4Algorithm,
    				"X-Amz-Date":           now.AddDate(0, 0, -2).Format(iso8601Format),
    				"X-Amz-Expires":        "60",
    				"X-Amz-Signature":      "badsignature",
    				"X-Amz-SignedHeaders":  "host;x-amz-content-sha256;x-amz-date",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

        ).isEqualTo(10L)
        assertThat(
          Headers
            .Builder()
            .add("abc", "def")
            .add("ghi", "jkl")
            .build()
            .byteCount(),
        ).isEqualTo(20L)
      }
    
      @Test fun addDate() {
        val expected = Date(0L)
        val headers =
          Headers
            .Builder()
            .add("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. cmd/bucket-replication-handlers.go

    				Bucket: bucket,
    				Err:    fmt.Errorf("invalid query parameter older-than %s for %s : %w", durationStr, bucket, err),
    			}), r.URL)
    			return
    		}
    	}
    	resetBeforeDate := UTCNow().AddDate(0, 0, -1*int(days/24))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 23.3K bytes
    - Click Count (0)
  7. internal/bucket/object/lock/lock.go

    			// Do not change any configuration
    			// upon NTP failure.
    			return r
    		}
    
    		if config.Rule.DefaultRetention.Days != nil {
    			r.Validity = t.AddDate(0, 0, int(*config.Rule.DefaultRetention.Days)).Sub(t)
    		} else {
    			r.Validity = t.AddDate(int(*config.Rule.DefaultRetention.Years), 0, 0).Sub(t)
    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. api/go1.txt

    pkg time, method (Duration) Seconds() float64
    pkg time, method (Duration) String() string
    pkg time, method (Month) String() string
    pkg time, method (Time) Add(Duration) Time
    pkg time, method (Time) AddDate(int, int, int) Time
    pkg time, method (Time) After(Time) bool
    pkg time, method (Time) Before(Time) bool
    pkg time, method (Time) Clock() (int, int, int)
    pkg time, method (Time) Date() (int, Month, int)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top