- Sort Score
- Result 10 results
- Languages All
Results 2951 - 2960 of 4,204 for Hint (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java
getMap().inverse().values().remove(k0()); expectMissing(e0()); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO) public void testKeySetIteratorRemove() { int initialSize = getNumElements(); Iterator<K> iterator = getMap().keySet().iterator(); iterator.next(); iterator.remove(); assertEquals(initialSize - 1, getMap().size());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public abstract class AbstractListIndexOfTester<E> extends AbstractListTester<E> { /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */ protected abstract int find(@Nullable Object o); /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */ protected abstract String getMethodName(); @CollectionSize.Require(absent = ZERO)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java
* @return an integer representing the exit code of the invocation (0 typically indicates success) * @throws InvokerException if an error occurs during the invocation process. */ int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException; /** * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 2.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
"-PtestDistributionDogfoodingTag=alpine", "-PmaxTestDistributionLocalExecutors=0", ).joinToString(" ") } class TeamCityParallelTests( val numberOfBatches: Int, ) : ParallelizationMethod() companion object { private val objectMapper = ObjectMapper() fun fromJson(jsonObject: Map<String, Any>): ParallelizationMethod { val methodJsonNode =Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 09 05:26:45 UTC 2025 - 5.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt
* master - 0:00 * release - 1:00 * release6x - 2:00 * release7x - 3:00 * ... * releaseNx - (N-4):00 */ fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? { val oldReleasePattern = "release(\\d+)x".toRegex() return when (branchName) { "master" -> 0 "release" -> 1 else -> { val matchResult = oldReleasePattern.find(branchName)
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java
/** * Constants for SMB2/3 durable and persistent handle capabilities. */ public final class Smb2HandleCapabilities { /** * Flag indicating persistent handle capability */ public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002; /** * Default timeout for durable handles (2 minutes) */ public static final long DEFAULT_DURABLE_TIMEOUT = 120000; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
void releaseStoresAndZeroesBuffer() { BufferCacheImpl impl = new BufferCacheImpl(2, 10); byte[] b = new byte[10]; // Fill with non-zero to verify zeroing on release for (int i = 0; i < b.length; i++) { b[i] = (byte) (i + 1); } // Act: release should zero immediately to avoid leaks impl.releaseBuffer(b);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
"toArray(overSizedE[]) should return the given array", array, collection.toArray(array)); List<E> subArray = asList(array).subList(0, getNumElements()); E[] expectedSubArray = createSamplesArray(); for (int i = 0; i < getNumElements(); i++) { assertTrue( "toArray(overSizedE[]) should contain element " + expectedSubArray[i], subArray.contains(expectedSubArray[i])); } assertNull(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 8.2K bytes - Viewed (0) -
cmd/metrics-v3-cache.go
cpuMetrics: newCPUMetricsCache(), clusterDriveMetrics: newClusterStorageInfoCache(), nodesUpDown: newNodesUpDownCache(), } } type nodesOnline struct { Online, Offline int } func newNodesUpDownCache() *cachevalue.Cache[nodesOnline] { loadNodesUpDown := func(ctx context.Context) (v nodesOnline, err error) { v.Online, v.Offline = globalNotificationSys.GetPeerOnlineCount() return v, err
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.1K bytes - Viewed (0) -
tests/error_translator_test.go
tidbSkip(t, "not support the foreign key feature") type City struct { gorm.Model Name string `gorm:"unique"` } type Museum struct { gorm.Model Name string `gorm:"unique"` CityID uint City City `gorm:"Constraint:OnUpdate:CASCADE,OnDelete:CASCADE;FOREIGNKEY:CityID;References:ID"` } db, err := OpenTestConnection(&gorm.Config{TranslateError: true}) if err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.1K bytes - Viewed (0)