Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3571 - 3580 of 4,519 for Signal (0.04 seconds)

  1. guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Returns a random portion of the requested bytes on each call. */
    @NullUnmarked
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
        this.random = checkNotNull(random);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/TestReader.java

    import java.io.IOException;
    import java.io.InputStreamReader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
        this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options));
      }
    
      public TestReader(TestInputStream in) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

        }
    
        /**
         * Converts to a {@literal byte} array.
         *
         * @param o
         *            The object to convert
         * @return The {@literal byte} array
         */
        public static byte[] toBinary(final Object o) {
            if (o instanceof byte[]) {
                return (byte[]) o;
            } else if (o == null) {
                return null;
            } else {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverException.java

    import org.apache.maven.api.annotations.Experimental;
    
    /**
     *
     *
     * @since 4.0.0
     */
    @Experimental
    public class ArtifactResolverException extends MavenException {
    
        private final ArtifactResolverResult result;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         * @param result the resolution result containing detailed information
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionResolutionException.java

    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    /**
     * Exception occurring trying to resolve a plugin.
     *
     */
    public class ExtensionResolutionException extends Exception {
    
        private final CoreExtension extension;
    
        public ExtensionResolutionException(CoreExtension extension, Throwable cause) {
            super(
                    "Extension " + extension.getId() + " or one of its dependencies could not be resolved: "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/WebApiResponse.java

        /**
         * Constructs a WebApiResponse with the specified response.
         *
         * @param response The original HTTP servlet response
         */
        public WebApiResponse(final HttpServletResponse response) {
            super(response);
        }
    
        /**
         * Gets a PrintWriter for writing response content.
         * Returns a dummy PrintWriter that writes to a ByteArrayOutputStream.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java

     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultimapFeature implements Feature<Multimap> {
      VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE;
    
      private final Set<Feature<? super Multimap>> implied;
    
      MultimapFeature(Feature<? super Multimap>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Multimap>> getImpliedFeatures() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    import junit.framework.TestResult;
    
    /**
     * @author Max Ross
     */
    @AndroidIncompatible // test-suite builders
    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/TestWriter.java

    import java.io.OutputStreamWriter;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestWriter extends FilterWriter {
    
      private final TestOutputStream out;
    
      public TestWriter(TestOption... options) throws IOException {
        this(new TestOutputStream(ByteStreams.nullOutputStream(), options));
      }
    
      public TestWriter(TestOutputStream out) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

    import java.util.List;
    
    import org.jline.console.CommandRegistry;
    
    import static java.util.Objects.requireNonNull;
    
    public class ShellCommandRegistryHolder implements AutoCloseable {
        private final List<CommandRegistry> commandRegistries;
    
        public ShellCommandRegistryHolder() {
            this.commandRegistries = new ArrayList<>();
        }
    
        public void addCommandRegistry(CommandRegistry commandRegistry) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top