Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 257 for special (1.9 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

       *
       * <p>Note that, in cases where {@code sizeIfKnown} returns zero, it is <i>possible</i> that bytes
       * are actually available for reading. (For example, some special files may return a size of 0
       * despite actually having content when read.) This means that a source may return {@code true}
       * from {@code isEmpty()} despite having readable content.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of
     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly
     * different signatures.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

    import com.google.common.base.Function;
    import java.util.concurrent.Executor;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/StandardSystemProperty.java

       *       available even under older version.
       *   <li>Any property may be cleared through APIs like {@link System#clearProperty}.
       *   <li>Unusual environments like GWT may have their own special handling of system properties.
       * </ul>
       *
       * <p>Note that {@code StandardSystemProperty} does not provide constants for more recently added
       * properties, including:
       *
       * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      public void testMaximalWeakStripedLock() {
        Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE);
        for (int i = 0; i < 10000; i++) {
          stripedLock.get(new Object()).lock();
          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = Maps.newHashMap();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
        USING_DECODER_WITH_SIZE_HINT {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
        USING_DECODER_WITH_SIZE_HINT {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/InetAddressesTest.java

            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // ::1 special case
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::1")))
            .isEqualTo(InetAddresses.forString("127.0.0.1"));
    
        // :: special case
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::")))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/BuildAbort.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    /**
     * A special throwable used to signal a graceful abort of the build.
     */
    public class BuildAbort extends Error {
    
        public BuildAbort(String message) {
            super(message);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

    import org.codehaus.plexus.component.configurator.ComponentConfigurationException;
    import org.codehaus.plexus.component.configurator.ConfigurationListener;
    import org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top