Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2581 - 2590 of 3,706 for private (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

    /** A sink that never throws IOExceptions, even if the underlying sink does. */
    internal open class FaultHidingSink(
      delegate: Sink,
      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
          return
        }
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/StringCatcher.java

     * to call ({@link #methodWithoutAnnotation(String)}).
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class StringCatcher {
      private final List<String> events = new ArrayList<>();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/RemovalListeners.java

    import java.util.concurrent.Executor;
    
    /**
     * A collection of common removal listeners.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtIncompatible
    public final class RemovalListeners {
    
      private RemovalListeners() {}
    
      /**
       * Returns a {@code RemovalListener} which processes all eviction notifications using {@code
       * executor}.
       *
       * @param listener the backing listener
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

     */
    package org.codelibs.core.exception;
    
    /**
     * Exception thrown when an argument is empty.
     *
     * @author higa
     */
    public class EmptyArgumentException extends ClIllegalArgumentException {
    
        private static final long serialVersionUID = 4625805280526951642L;
    
        /**
         * Creates an {@link EmptyArgumentException}.
         *
         * @param argName
         *            Name of the argument
         * @param messageCode
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.java

    /**
     * The Exception class throw by the {@link Lookup} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class LookupException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = -6259322450070320286L;
    
        public LookupException(String message) {
            super(message);
        }
    
        /**
         * @param message the message to give
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exception/ScriptEngineException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when a script engine error occurs.
     */
    public class ScriptEngineException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
         * @param message The exception message.
         */
        public ScriptEngineException(final String message) {
            super(message);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlerLogHelperTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class CrawlerLogHelperTest extends UnitFessTestCase {
    
        private CrawlerLogHelper crawlerLogHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            crawlerLogHelper = new CrawlerLogHelper();
        }
    
        public void test_instantiation() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/BufferedSocket.kt

      override val sink: BufferedSink
    }
    
    fun JavaNetSocket.asBufferedSocket(): BufferedSocket = asOkioSocket().asBufferedSocket()
    
    fun OkioSocket.asBufferedSocket(): BufferedSocket =
      object : BufferedSocket {
        private val delegate = this@asBufferedSocket
        override val source = delegate.source.buffer()
        override val sink = delegate.sink.buffer()
    
        override fun cancel() {
          delegate.cancel()
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

      static int listListIteratorTesterNumIterations() {
        return 4;
      }
    
      /** See {@link CollectionIteratorTester} */
      static int collectionIteratorTesterNumIterations() {
        return 5;
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

      static final class SomeChainingException extends RuntimeException {
        public SomeChainingException(Throwable cause) {
          super(cause);
        }
      }
    
      private TestExceptions() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top