- Sort Score
- Result 10 results
- Languages All
Results 4121 - 4130 of 7,014 for _return (0.04 sec)
-
internal/cachevalue/cache_test.go
sl := time.NewTimer(time.Second) defer sl.Stop() select { case <-sl.C: case <-ctx.Done(): return ctx.Err() } return nil } func TestCacheCtx(t *testing.T) { cache := New[time.Time]() t.Parallel() cache.InitOnce(2*time.Second, Opts{}, func(ctx context.Context) (time.Time, error) { return time.Now(), slowCaller(ctx) }, ) ctx, cancel := context.WithCancel(context.Background())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/metrics-v3-system-drive.go
hosts: map[string]struct{}{ globalLocalNodeName: {}, }, }) stats := map[string]madmin.DiskIOStats{} for d, m := range driveRealtimeMetrics.ByDisk { stats[d] = m.IOStats } return stats } func (m *MetricValues) setDriveBasicMetrics(drive madmin.Disk, labels []string) { m.Set(driveUsedBytes, float64(drive.UsedSpace), labels...) m.Set(driveFreeBytes, float64(drive.AvailableSpace), labels...)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 12 17:23:50 UTC 2024 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SpecialRandom.java
* * <p>TODO: Remove this class once Caliper has a better way. * * @author Nicholaus Shupe */ public final class SpecialRandom extends Random { public static SpecialRandom valueOf(String s) { return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s)); } private final boolean hasSeed; private final long seed; public SpecialRandom() { this.hasSeed = false;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java
* @param problems the problemCollector * @return the mutable transformerContext */ TransformerContext initialize(ModelBuildingRequest request, ModelProblemCollector problems); /** * The immutable transformerContext, can be used after the buildplan is finished. * * @return the immutable transformerContext */ TransformerContext build();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
List<Version> getVersions(); @Nonnull default Optional<Version> getLowerVersion() { return getVersions().isEmpty() ? Optional.empty() : Optional.of(getVersions().get(0)); } @Nonnull default Optional<Version> getHigherVersion() { return getVersions().isEmpty() ? Optional.empty()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/WagonConfigurationException.java
this.repositoryId = repositoryId; this.originalMessage = message; } public final String getRepositoryId() { return repositoryId; } public final String getOriginalMessage() { return originalMessage; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java
* @since 3.8.3 */ public AbstractMojoExecutionException(Throwable cause) { super(cause); } public String getLongMessage() { return longMessage; } public Object getSource() { return source; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dashboard/AdminDashboardAction.java
super.setupHtmlData(runtime); runtime.registerData("helpLink", systemHelper.getHelpLink(fessConfig.getOnlineHelpNameDashboard())); } @Override protected String getActionRole() { return ROLE; } // =================================================================================== // Index
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java
@CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", getMap().isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", getMap().isEmpty()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.6K bytes - Viewed (0)