Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 3,763 for Int (0.02 sec)

  1. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

      public void testFastAddAllMultiset() {
        final AtomicInteger addCalls = new AtomicInteger();
        Multiset<String> multiset =
            new NoRemoveMultiset<String>() {
              @Override
              public int add(String element, int occurrences) {
                addCalls.incrementAndGet();
                return super.add(element, occurrences);
              }
            };
        ImmutableMultiset<String> adds =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      public void testPutEmpty() {
        int size = getNumElements();
    
        assertGet(k3(), ImmutableList.<V>of());
    
        assertTrue(multimap().put(k3(), v3()));
    
        assertGet(k3(), v3());
        assertEquals(size + 1, multimap().size());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutPresent() {
        int size = getNumElements();
    
        assertGet(k0(), v0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      public void testPutEmpty() {
        int size = getNumElements();
    
        assertGet(k3(), ImmutableList.<V>of());
    
        assertTrue(multimap().put(k3(), v3()));
    
        assertGet(k3(), v3());
        assertEquals(size + 1, multimap().size());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutPresent() {
        int size = getNumElements();
    
        assertGet(k0(), v0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/abstract_operation.h

      virtual absl::Status SetAttrShapeList(const char* attr_name,
                                            const int64_t** dims,
                                            const int* num_dims,
                                            int num_values) = 0;
      virtual absl::Status SetAttrFunctionList(
          const char* attr_name, absl::Span<const AbstractOperation*> values) = 0;
    
     private:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        protected final Map<String, String> conditionMap = new HashMap<>();
    
        protected int directoryNameLength = 5;
    
        protected List<String> generatorList;
    
        protected Map<String, String> filePathMap = new HashMap<>();
    
        protected String name;
    
        protected int maxRedirectCount = 10;
    
        protected Boolean available = null;
    
        public void register() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         */
    
        public static final int PIPE_TYPE_CALL   = 0x0100;
    
        /**
         * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function.
         */
    
        public static final int PIPE_TYPE_TRANSACT = 0x0200;
    
        public static final int PIPE_TYPE_DCE_TRANSACT = 0x0200 | 0x0400;
    
        InputStream pipeIn;
        OutputStream pipeOut;
        int pipeType;
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractHasher.java

      public Hasher putBytes(byte[] bytes) {
        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
        Preconditions.checkPositionIndexes(off, off + len, bytes.length);
        for (int i = 0; i < len; i++) {
          putByte(bytes[off + i]);
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer b) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
            return max(0, data.size() + delta);
          }
    
          @Override
          public T get(int index) {
            return data.get(index);
          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SIDCacheImpl.java

                }
            }
        }
    
    
        @Override
        public void resolveSids ( CIFSContext tc, String authorityServerName, jcifs.SID[] sids, int offset, int length ) throws CIFSException {
            ArrayList<SID> list = new ArrayList<>(sids.length);
            int si;
    
            synchronized ( this.sidCache ) {
                for ( si = 0; si < length; si++ ) {
                    SID s = sids[ offset + si ].unwrap(SID.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  10. src/bytes/reader.go

    type Reader struct {
    	s        []byte
    	i        int64 // current reading index
    	prevRune int   // index of previous rune; or < 0
    }
    
    // Len returns the number of bytes of the unread portion of the
    // slice.
    func (r *Reader) Len() int {
    	if r.i >= int64(len(r.s)) {
    		return 0
    	}
    	return int(int64(len(r.s)) - r.i)
    }
    
    // Size returns the original length of the underlying byte slice.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top