Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,144 for These (0.02 seconds)

  1. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

    import java.nio.charset.Charset;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

    import jcifs.smb.SmbException;
    
    /**
     * Unit tests exercising {@link SmbComSessionSetupAndX}.  The class under test
     * contains several protected helper methods and a complex constructor
     * that branches on credential type.  These tests use reflection to call
     * protected methods and Mockito to stub collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbComSessionSetupAndXTest {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

         * session's repositories, allowing for request-specific repository configuration.
         *
         * <p>The returned list should not contain duplicate repositories (based on their
         * equality) or null entries, as these will cause validation failures when the
         * request is processed.
         *
         * @return the list of remote repositories to use, or {@code null} to use session defaults
         * @see Session#getRemoteRepositories()
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            String testPluginArtifactId = "maven-compiler-plugin";
    
            // this is the plugin we're looking for.
            validPluginCounts.put(testPluginArtifactId, 0);
    
            // these are injected if -DperformRelease=true
            validPluginCounts.put("maven-deploy-plugin", 0);
            validPluginCounts.put("maven-javadoc-plugin", 0);
            validPluginCounts.put("maven-source-plugin", 0);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

            this.lifecycleStarter = lifecycleStarter;
        }
    
        @Override
        public void execute(MavenSession session) {
            lifecycleStarter.execute(session);
        }
    
        // These methods deal with construction intact Plugin object that look like they come from a standard
        // <plugin/> block in a Maven POM. We have to do some wiggling to pull the sources of information
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. ci/official/utilities/extract_resultstore_links.py

    
    def parse_args() -> argparse.Namespace:
      """Parses the commandline args."""
      parser = argparse.ArgumentParser(
          description='Extracts ResultStore links from a build log.\n'
                      'These can be then printed out, and/or output into a '
                      'JUnit-based XML file inside a specified directory.')
    
      parser.add_argument('build_log',
                          help='Path to a build log.')
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val survey = CipherSuiteSurvey(clients = clients, ianaSuites = ianaSuitesNew, orderBy = orderBy)
    
      survey.printGoogleSheet()
    }
    
    fun rest(clients: List<Client>): List<SuiteId> {
      // combine all ciphers to get these near the top
      return clients.flatMap { it.enabled }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

      fun addPlan(): FakePlan =
        FakePlan(nextPlanId++).also {
          plans += it
        }
    
      override fun isCanceled() = canceled
    
      override fun plan(): FakePlan {
        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

     *
     * <p>A toolchain represents a specific build tool configuration (e.g., JDK, compiler) that can be
     * used during the Maven build process. This service allows for retrieving, storing, and managing
     * these toolchains.</p>
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ToolchainManager extends Service {
    
        /**
         * Retrieves toolchains matching the specified type and requirements.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. tensorflow/c/eager/gradients_internal.h

    namespace tensorflow {
    namespace gradients {
    namespace internal {
    
    // Helper functions which delegate to `AbstractOperation`, update
    // the state of the ForwardOperation and call the tape as appropriate.
    // These APIs are mainly to facilitate testing and are subject to change.
    
    // Records the op name in the `ForwardOperation`.
    absl::Status Reset(AbstractOperation*, const char* op,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 4.7K bytes
    - Click Count (0)
Back to Top