- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 1,781 for take (0.02 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * A test which demonstrates maven's recursive inheritance where * we are testing to make sure that elements stated in a model are * not clobbered by the same elements elsewhere in the lineage. * */ @Deprecated class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
int internalArrayEnd() { return size; } @Override int copyIntoArray(@Nullable Object[] dst, int dstOff) { arraycopy(array, 0, dst, dstOff, size); return dstOff + size; } // The fake cast to E is safe because the creation methods only allow E's @Override @SuppressWarnings("unchecked") public E get(int index) { checkElementIndex(index, size);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Hashing.java
// Get the recommended table size. // Round down to the nearest power of 2. expectedEntries = max(expectedEntries, 2); int tableSize = Integer.highestOneBit(expectedEntries); // Check to make sure that we will not exceed the maximum load factor. if (expectedEntries > (int) (loadFactor * tableSize)) { tableSize <<= 1; return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE; } return tableSize;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds.go
if c.configDump == nil { return nil, fmt.Errorf("config writer has not been primed") } dump, err := c.configDump.GetEcdsConfigDump() if err != nil { return nil, err } ecds := make([]*core.TypedExtensionConfig, 0, len(dump.EcdsFilters)) for _, config := range dump.GetEcdsFilters() { c := &core.TypedExtensionConfig{} err := config.GetEcdsFilter().UnmarshalTo(c) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Jan 14 02:41:27 UTC 2023 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
*/ fun onFailure( hostname: String, e: IOException, ) } /** * Class of DNS addresses, such that clients that treat these differently, such * as attempting IPv6 first, can make such decisions. */ @ExperimentalOkHttpApi enum class DnsClass(val type: Int) { IPV4(TYPE_A), IPV6(TYPE_AAAA), } @ExperimentalOkHttpApi companion object { const val TYPE_A = 1
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.5K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
mockWebServer.dispatcher = dispatcher val url = mockWebServer.url("/").toUrl() val conn = url.openConnection() as HttpURLConnection conn.responseCode // Force the connection to hit the "server". // Make sure our dispatcher got the request. assertThat(requestsMade.size).isEqualTo(1) } @Test fun outOfOrderResponses() { val firstResponseCode = AtomicInteger() val secondResponseCode = AtomicInteger()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
} @Override public long getLastWriteTime () { return convertTime(this.lastWriteTime); } @Override public long getLastAccessTime () { // Fake access time return convertTime(this.lastWriteTime); } @Override public long getSize () { return this.fileSize; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathTesting.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 11.2K bytes - Viewed (0) -
internal/kms/secret-key.go
} return &KMS{ Type: Builtin, DefaultKey: keyID, conn: secretKey{ keyID: keyID, key: key, }, latencyBuckets: defaultLatencyBuckets, latency: make([]atomic.Uint64, len(defaultLatencyBuckets)), }, nil } // secretKey is a KMS implementation that derives new DEKs // from a single key. type secretKey struct { keyID string key []byte }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 11.2K bytes - Viewed (0)