- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for GetMain (0.06 sec)
-
internal/bucket/object/lock/lock_test.go
tests := []struct { value DefaultRetention expectedErr error expectErr bool }{ { value: DefaultRetention{Mode: "retain"}, expectedErr: fmt.Errorf("unknown retention mode retain"), expectErr: true, }, { value: DefaultRetention{Mode: RetGovernance}, expectedErr: fmt.Errorf("either Days or Years must be specified"), expectErr: true,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
type Retention struct { Mode RetMode Validity time.Duration LockEnabled bool } // Retain - check whether given date is retainable by validity time. func (r Retention) Retain(created time.Time) bool { t, err := UTCNowNTP() if err != nil { lockLogIf(context.Background(), err) // Retain return true } return created.Add(r.Validity).After(t) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
cmd/metacache-walk.go
return nil } if len(prefix) > 0 && !strings.HasPrefix(entry, prefix) { // Do not retain the file, since it doesn't // match the prefix. entries[i] = "" continue } if len(forward) > 0 && entry < forward { // Do not retain the file, since its // lexially smaller than 'forward' entries[i] = "" continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
readTheListUninterruptibly() } else { try { readCompleteLatch.await() } catch (_: InterruptedException) { Thread.currentThread().interrupt() // Retain interrupted status. } } check(::publicSuffixListBytes.isInitialized) { // May have failed with an IOException "Unable to load $PUBLIC_SUFFIX_RESOURCE resource from the classpath."
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.7K bytes - Viewed (0) -
LICENSE
Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Nov 29 17:31:56 UTC 2021 - 13.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} @Override public boolean isResolved() { return resolved; } @Override public void setResolvedVersion(String version) { this.version = version; // retain baseVersion } @Override public void setArtifactHandler(ArtifactHandler artifactHandler) { this.artifactHandler = artifactHandler; } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> { /** A collection of elements to retain, along with a description for use in failure messages. */ private class Target { private final Collection<E> toRetain; private final String description;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> { /** A collection of elements to retain, along with a description for use in failure messages. */ private class Target { private final Collection<E> toRetain; private final String description;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
} } // When redirecting across hosts, drop all authentication headers. This // is potentially annoying to the application layer since they have no // way to retain them. if (!userResponse.request.url.canReuseConnectionFor(url)) { requestBuilder.removeHeader("Authorization") } return requestBuilder.url(url).build() } private fun retryAfter(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12.1K bytes - Viewed (0) -
docs/LICENSE
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 10 16:50:06 UTC 2021 - 18.2K bytes - Viewed (0)