Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,988 for bist (0.02 seconds)

  1. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

      }
    
      private void testHasMapEntriesInOrder(Map<?, ?> map, Object... alternatingKeysAndValues) {
        List<? extends Entry<?, ?>> entries = new ArrayList<>(map.entrySet());
        List<Object> keys = new ArrayList<>(map.keySet());
        List<Object> values = new ArrayList<>(map.values());
        assertThat(alternatingKeysAndValues).hasLength(2 * entries.size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.time.Duration;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

            cause);
      }
    
      private static <X extends Exception> List<Constructor<X>> preferringStringsThenThrowables(
          List<Constructor<X>> constructors) {
        return WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM.sortedCopy(constructors);
      }
    
      // TODO: b/296487962 - Consider defining a total order over constructors.
      private static final Ordering<List<Class<?>>> ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST =
          Ordering.natural()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        fun getRelocatedPackages(files: Sequence<Path>): List<String> = mutableListOf<String>().apply {
            implementation.collectPackages(files.toList()).dump(false, this::add)
        }
    
        @Test
        fun `generates a curated list of package prefixes from directories`() {
            assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(someClasses()))
        }
    
        @Test
        fun `generates a curated list of package prefixes from jars`() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 25 08:50:34 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.edges()).hasSize(NUM_EDGES);
          AbstractNetworkTest.validateNetwork(network);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

                }
                throw GradleException(buildErrorMessage(formattedMismatches))
            }
        }
    
        private
        fun findMismatches(originalChanges: List<AcceptedApiChange>, sortedChanges: List<AcceptedApiChange>): List<AcceptedApiChange> {
            return originalChanges.filterIndexed { index, acceptedApiChange -> sortedChanges[index] != acceptedApiChange }
        }
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Nov 29 14:03:44 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

    ) : CertificateChainCleaner() {
      @Suppress("UNCHECKED_CAST")
      @Throws(SSLPeerUnverifiedException::class)
      @SuppressSignatureCheck
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
        val certificates = (chain as List<X509Certificate>).toTypedArray()
        try {
          return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname)
        } catch (ce: CertificateException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        val headersDelay: Long = mockResponse.getHeadersDelay(TimeUnit.SECONDS)
        mockResponse = mockResponse.withPush(PushPromise("", "", headersOf(), MockResponse()))
        var pushPromises: List<PushPromise> = mockResponse.pushPromises
        pushPromises = mockResponse.pushPromises
        mockResponse = mockResponse.withSettings(Settings())
        var settings: Settings = mockResponse.settings
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  9. android-test/src/test/kotlin/okhttp/android/test/ShadowDnsResolver.kt

        val nsType: Int,
        val flags: Int,
        val callback: DnsResolver.Callback<List<InetAddress>>,
      )
    
      @Implementation
      fun query(
        network: Network?,
        domain: String,
        nsType: Int,
        flags: Int,
        executor: Executor,
        cancellationSignal: CancellationSignal?,
        callback: DnsResolver.Callback<List<InetAddress>>,
      ) {
        responder(Request(network, domain, nsType, flags, callback))
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

        private
        val sources: SourcesRepository
    
    ) : AutoCloseable {
    
        companion object {
    
            @JvmStatic
            fun openRepositoryFor(sourceRoots: List<File>, compilationClasspath: List<File>) =
                BinaryCompatibilityRepository(SourcesRepository(sourceRoots, compilationClasspath))
        }
    
        @VisibleForTesting
        fun emptyCaches() =
            sources.close()
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top