Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1681 - 1690 of 2,242 for projectId (0.09 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class ConcurrentMapReplaceEntryTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        GcFinalization.awaitClear(ref);
      }
    
      public void testReentrantHasNext() {
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              protected Integer computeNext() {
                boolean unused = hasNext();
                throw new AssertionError();
              }
            };
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

       * hashers are the same order as the functions given to the constructor.
       */
      // this could be cleaner if it passed HashCode[], but that would create yet another array...
      /* protected */ abstract HashCode makeHash(Hasher[] hashers);
    
      @Override
      public Hasher newHasher() {
        Hasher[] hashers = new Hasher[functions.length];
        for (int i = 0; i < hashers.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            if (deploymentTimestamp == null) {
                deploymentTimestamp = getUtcDateFormatter().format(new Date());
            }
            return deploymentTimestamp;
        }
    
        protected String constructVersion(Versioning versioning, String baseVersion) {
            String version = null;
            Snapshot snapshot = versioning.getSnapshot();
            if (snapshot != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

         */
        protected InetAddress getWINSAddress () {
            return this.transportContext.getConfig().getWinsServers().length == 0 ? null
                    : this.transportContext.getConfig().getWinsServers()[ this.nbnsIndex ];
        }
    
    
        /**
         * 
         * @param svr
         * @return whether the given address is a WINS server
         */
        protected boolean isWINS ( InetAddress svr ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        ListMultimapTestSuiteBuilder<K, V> result = new ListMultimapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(ListMultimapAsMapTester.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/CharEscaperBuilder.java

            if (c < replacements.length && replacements[c] != null) {
              return escapeSlow(s, index);
            }
          }
          return s;
        }
    
        @Override
        @CheckForNull
        protected char[] escape(char c) {
          return c < replaceLength ? replacements[c] : null;
        }
      }
    
      // Replacement mappings.
      private final Map<Character, String> map;
    
      // The highest index we've seen so far.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_function.h

    // A traced function: this hides the complexity of converting the serialized
    // representation between various supported formats e.g. FunctionDef and Mlir
    // function.
    class AbstractFunction : public core::RefCounted {
     protected:
      enum AbstractFunctionKind { kGraph, kMlir };
      explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {}
    
     public:
      // Returns which subclass is this instance of.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/abstract_op_attrs.h

    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Attributes of an op.
    class AbstractOpAttrs {
     protected:
      enum AbstractOpAttrsKind { kEager, kTfrt };
      explicit AbstractOpAttrs(AbstractOpAttrsKind kind) : kind_(kind) {}
    
     public:
      // Returns which subclass is this instance of.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top