Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2131 - 2140 of 2,652 for throwIf (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/ConnectionListener.kt

    package okhttp3
    
    import okio.IOException
    
    /**
     * Listener for connection events. Extend this class to monitor the new connections and closes.
     *
     * All event methods must execute fast, without external locking, cannot throw exceptions,
     * attempt to mutate the event parameters, or be reentrant back into the client.
     * Any IO - writing to files or network should be done asynchronously.
     */
    @ExperimentalOkHttpApi
    abstract class ConnectionListener {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
      public List<Integer> order(List<Integer> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteArrayDataOutput.java

    import java.io.DataOutput;
    import java.io.IOException;
    
    /**
     * An extension of {@code DataOutput} for writing to in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
     * @author Jayaprabhakar Kadarkarai
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ByteArrayDataOutput extends DataOutput {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

        fun promoteMilestoneTaskName(): String = when {
            isRelease -> "promoteReleaseMilestone"
            else -> "promoteMilestone"
        }
    
        fun promoteFinalReleaseTaskName(): String = when {
            isMaster -> throw UnsupportedOperationException("No final release job on master branch")
            isRelease -> "promoteFinalRelease"
            else -> "promoteFinalBackportRelease"
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 26 12:59:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderException.java

    package org.apache.maven.api.services;
    
    import java.io.Serial;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link SettingsBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class SettingsBuilderException extends MavenException {
    
        @Serial
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java

    package org.apache.maven.api.services;
    
    import java.io.Serial;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link ToolchainsBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class ToolchainsBuilderException extends MavenException {
    
        @Serial
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagementOverridesTransitiveDependencyVersion() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

            accessResultData = accessResultDataAsOne;
            initializedData = true;
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
            if (sessionId != null) {
                builder.field(SESSION_ID, sessionId);
            }
            if (ruleId != null) {
                builder.field(RULE_ID, ruleId);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

        private static final Logger logger = LoggerFactory.getLogger(HtmlXpathExtractorTest.class);
    
        public HtmlXpathExtractor htmlXpathExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("htmlXpathExtractor", HtmlXpathExtractor.class);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

          assertThat(response.cacheResponse).isNotNull()
        }
      }
    
      private fun assumeNetwork() {
        try {
          InetAddress.getByName("www.google.com")
        } catch (uhe: UnknownHostException) {
          throw AssumptionViolatedException(uhe.message, uhe)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top