Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for cark (0.12 sec)

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

        assertEquals(distinct, getMultiset().elementSet().size());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(distinct, getMultiset().elementSet().size());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Charsets.java

      public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
    
      /**
       * UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order
       * mark.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_16} instead.
       *
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertThat(expected).hasMessageThat().isEqualTo("Mark not set");
      }
    
      public void testMarkNotSupported() {
        counter = new CountingInputStream(new UnmarkableInputStream());
    
        IOException expected = assertThrows(IOException.class, () -> counter.reset());
        assertThat(expected).hasMessageThat().isEqualTo("Mark not supported");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
          /*
           * Luckily, we don't care about analyzing tests at all. We'd skip them all if we could do so
           * trivially, but it's enough to skip these ones.
           */
          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
          /*
           * Luckily, we don't care about analyzing tests at all. We'd skip them all if we could do so
           * trivially, but it's enough to skip these ones.
           */
          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CountingInputStream.java

      }
    
      @Override
      public synchronized void mark(int readlimit) {
        in.mark(readlimit);
        mark = count;
        // it's okay to mark even if mark isn't supported, as reset won't work
      }
    
      @Override
      public synchronized void reset() throws IOException {
        if (!in.markSupported()) {
          throw new IOException("Mark not supported");
        }
        if (mark == -1) {
          throw new IOException("Mark not set");
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.4K bytes
    - Viewed (0)
Back to top