Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Limited (0.19 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
     * which means each mojo execution will result in a different instance being injected.
     *
     * TODO: this is currently not implemented
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
     * for your real time-limiter while you're debugging.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> iterable = newArrayList("foo", "bar", "baz");
        Iterable<String> limited = Iterables.limit(iterable, 2);
    
        List<String> expected = ImmutableList.of("foo", "bar");
        List<String> actual = newArrayList(limited);
        assertEquals(expected, actual);
        assertCanIterateAgain(limited);
        assertEquals("[foo, bar]", limited.toString());
      }
    
      public void testLimit_illegalArgument() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            br.addNotice("Too long boundary size so treats it as 404.");
            br.addItem("Advice");
            br.addElement("Against for JVN14876762.");
            br.addElement("Boundary size is limited by Framework.");
            br.addElement("Too long boundary is treated as 404 because it's thought of as attack.");
            br.addElement("");
            br.addElement("While, you can override the boundary limit size");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
     * which means each mojo execution will result in a different instance being injected.
     *
     * TODO: this is currently not implemented
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Apr 22 13:58:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      public void testLimit() {
        Iterable<String> iterable = Lists.newArrayList("foo", "bar", "baz");
        FluentIterable<String> limited = FluentIterable.from(iterable).limit(2);
    
        assertEquals(ImmutableList.of("foo", "bar"), Lists.newArrayList(limited));
        assertCanIterateAgain(limited);
        assertEquals("[foo, bar]", limited.toString());
      }
    
      public void testLimit_illegalArgument() {
        try {
          FluentIterable<String> unused =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        return new Builder<Comparable>(Ordering.natural()).expectedSize(expectedSize);
      }
    
      /**
       * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances
       * that are limited to {@code maximumSize} elements. Each time a queue grows beyond this bound, it
       * immediately removes its greatest element (according to its comparator), which might be the
       * element that was just added.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java

    import org.codehaus.plexus.interpolation.InterpolationException;
    
    /**
     * Determines profile activation based on the existence/absence of some file.
     * File name interpolation support is limited to <code>${project.basedir}</code>
     * system properties and user properties.
     *
     * @see ActivationFile
     * @see org.apache.maven.internal.impl.model.DefaultModelValidator#validateRawModel
     */
    @Named("file")
    @Singleton
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      public void testLimit() {
        Iterable<String> iterable = Lists.newArrayList("foo", "bar", "baz");
        FluentIterable<String> limited = FluentIterable.from(iterable).limit(2);
    
        assertEquals(ImmutableList.of("foo", "bar"), Lists.newArrayList(limited));
        assertCanIterateAgain(limited);
        assertEquals("[foo, bar]", limited.toString());
      }
    
      public void testLimit_illegalArgument() {
        try {
          FluentIterable<String> unused =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteStreams.java

      /**
       * Wraps a {@link InputStream}, limiting the number of bytes which can be read.
       *
       * @param in the input stream to be wrapped
       * @param limit the maximum number of bytes to be read
       * @return a length-limited {@link InputStream}
       * @since 14.0 (since 1.0 as com.google.common.io.LimitInputStream)
       */
      public static InputStream limit(InputStream in, long limit) {
        return new LimitedInputStream(in, limit);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top