Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3331 - 3340 of 4,145 for extend (0.12 sec)

  1. guava-tests/test/com/google/common/cache/CacheManualTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    public class CacheManualTest extends TestCase {
    
      public void testGetIfPresent() {
        Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build();
        CacheStats stats = cache.stats();
        assertEquals(0, stats.missCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

    import java.io.ByteArrayInputStream;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link HashingInputStream}.
     *
     * @author Qian Huang
     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/Subscriber.java

      }
    
      /**
       * Subscriber that synchronizes invocations of a method to ensure that only one thread may enter
       * the method at a time.
       */
      @VisibleForTesting
      static final class SynchronizedSubscriber extends Subscriber {
    
        private SynchronizedSubscriber(EventBus bus, Object target, Method method) {
          super(bus, target, method);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

     * capabilities to the default HTTP handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * The default HTTP port (<code>80</code>).
         */
        public static final int DEFAULT_HTTP_PORT = 80;
    
        private static final Map PROTOCOL_HANDLERS = new HashMap();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     */
    public class SmbComWriteAndX extends AndXServerMessageBlock {
    
        private int fid, remaining, dataLength, dataOffset, off;
        private byte[] b;
        private long offset;
        private int pad;
        private int writeMode;
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    /**
     * Tests {@link FileProfileActivator}.
     *
     */
    class FileProfileActivatorTest extends AbstractProfileActivatorTest<FileProfileActivator> {
    
        @TempDir
        Path tempDir;
    
        private final DefaultProfileActivationContext context = new DefaultProfileActivationContext();
    
        @BeforeEach
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

    import org.apache.maven.api.model.Profile;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests {@link PropertyProfileActivator}.
     *
     */
    class PropertyProfileActivatorTest extends AbstractProfileActivatorTest<PropertyProfileActivator> {
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new PropertyProfileActivator();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    
    /**
     */
    @Named("snapshot")
    @Singleton
    @Deprecated
    public class SnapshotTransformation extends AbstractVersionTransformation {
        private static final String DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT = "yyyyMMdd.HHmmss";
    
        private static final TimeZone DEFAULT_SNAPSHOT_TIME_ZONE = TimeZone.getTimeZone("Etc/UTC");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

    import org.codehaus.plexus.logging.AbstractLogEnabled;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    
    /**
     */
    @Deprecated
    @Named
    @Singleton
    public class DefaultMavenSettingsBuilder extends AbstractLogEnabled implements MavenSettingsBuilder {
    
        private final SettingsBuilder settingsBuilder;
    
        @Inject
        public DefaultMavenSettingsBuilder(SettingsBuilder settingsBuilder) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

            }
        }
    
        public void visitSignature(SignatureVisitor visitor) {
            if (wildcard) {
                visitor.visitText("?");
            } else if (upperBounds != null) {
                visitor.visitText("? extends ");
                upperBounds.visitSignature(visitor);
            } else if (lowerBounds != null) {
                visitor.visitText("? super ");
                lowerBounds.visitSignature(visitor);
            } else {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
Back to top