Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,007 for contents (0.17 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultiset.java

          requireNonNull(contents); // see the comment on the field
          if (occurrences == 0) {
            return this;
          }
          if (buildInvoked) {
            contents = new ObjectCountHashMap<E>(contents);
            isLinkedHash = false;
          }
          buildInvoked = false;
          checkNotNull(element);
          contents.put(element, occurrences + contents.get(element));
          return this;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    type Buffer struct {
    	buf      []byte // contents are the bytes buf[off : len(buf)]
    	off      int    // read at &buf[off], write at &buf[len(buf)]
    	lastRead readOp // last read operation, so that Unread* can work correctly.
    }
    
    // The readOp constants describe the last action performed on
    // the buffer, so that UnreadRune and UnreadByte can check for
    // invalid usage. opReadRuneX constants are chosen such that
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultiset.java

        final Multiset<E> contents;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableMultiset#builder}.
         */
        public Builder() {
          this(LinkedHashMultiset.<E>create());
        }
    
        Builder(Multiset<E> contents) {
          this.contents = contents;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

        val expected =
          """
          |--AaB03x
          |Content-Disposition: form-data; name="submit-name"
          |
          |Larry
          |--AaB03x
          |Content-Disposition: form-data; name="files"
          |Content-Type: multipart/mixed; boundary=BbC04y
          |
          |--BbC04y
          |Content-Disposition: file; filename="file1.txt"
          |Content-Type: text/plain; charset=utf-8
          |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

        copyTo(Funnels.asOutputStream(hasher));
        return hasher.hash();
      }
    
      /**
       * Checks that the contents of this byte source are equal to the contents of the given byte
       * source.
       *
       * @throws IOException if an I/O error occurs while reading from this source or {@code other}
       */
      public boolean contentEquals(ByteSource other) throws IOException {
        checkNotNull(other);
    
    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)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            assertThat(q).containsExactlyElementsIn(contents);
            q.add(next);
            contents.add(next);
            assertThat(q).containsExactlyElementsIn(contents);
            q.remove(i);
            assertTrue(contents.remove(Integer.valueOf(i)));
            assertThat(q).containsExactlyElementsIn(contents);
            assertEquals(next, q.poll());
            contents.remove(next);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableList.java

        }
    
        private void getReadyToExpandTo(int minCapacity) {
          if (contents.length < minCapacity) {
            this.contents = Arrays.copyOf(contents, expandedCapacity(contents.length, minCapacity));
            forceCopy = false;
          } else if (forceCopy) {
            contents = Arrays.copyOf(contents, contents.length);
            forceCopy = false;
          }
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            assertThat(q).containsExactlyElementsIn(contents);
            q.add(next);
            contents.add(next);
            assertThat(q).containsExactlyElementsIn(contents);
            q.remove(i);
            assertTrue(contents.remove(Integer.valueOf(i)));
            assertThat(q).containsExactlyElementsIn(contents);
            assertEquals(next, q.poll());
            contents.remove(next);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

         */
        private void getReadyToExpandTo(int minCapacity) {
          if (contents.length < minCapacity) {
            this.contents =
                Arrays.copyOf(this.contents, expandedCapacity(contents.length, minCapacity));
            forceCopy = false;
          } else if (forceCopy) {
            this.contents = contents.clone();
            forceCopy = false;
          }
        }
    
        @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
Back to top