Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2071 - 2080 of 3,706 for private (0.04 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> hasher.putBytes(new byte[8], 0, -1));
      }
    
      private class TestHasher extends AbstractByteHasher {
    
        private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        @Override
        protected void update(byte b) {
          out.write(b);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        } finally {
          monitor.leave();
        }
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
      }
    
      private static void verifyOccupiedMethodsInCurrentThread(
          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

        return unmodifiableNavigableSet(delegate().elementSet());
      }
    
      @Override
      public NavigableSet<E> elementSet() {
        return (NavigableSet<E>) super.elementSet();
      }
    
      @LazyInit private transient @Nullable UnmodifiableSortedMultiset<E> descendingMultiset;
    
      // TODO(b/418181860): This method creates retain cycles in J2ObjC. In order to break the cycle,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteSinkTest.java

    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        } finally {
          monitor.leave();
        }
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
      }
    
      private static void verifyOccupiedMethodsInCurrentThread(
          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

     */
    public class NdrBuffer {
    
        private int referent;
        private Map<Object, Entry> referents;
    
        private static class Entry {
    
            public Entry(final int referent, final Object obj) {
                this.referent = referent;
                this.obj = obj;
            }
    
            final int referent;
    
            @SuppressWarnings("unused")
            private final Object obj;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

        HashCode foxHash =
            murmur3_128(0).hashString("The quick brown fox jumps over the lazy dog", UTF_8);
        assertEquals("6c1b07bc7bbc4be347939ac4a93c437a", foxHash.toString());
      }
    
      private static void assertHash(int seed, long expected1, long expected2, String stringInput) {
        HashCode expected = toHashCode(expected1, expected2);
        byte[] input = HashTestUtils.ascii(stringInput);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            case Boolean b -> b ? 1 : 0;
            default -> toInteger(o.toString());
            };
        }
    
        private static Integer toInteger(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Integer.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcException.java

                    return DCERPC_FAULT_MESSAGES[mid];
                }
            }
    
            return "0x" + Hexdump.toHexString(errcode, 8);
        }
    
        /** The DCERPC error code */
        private int error;
        /** The root cause exception */
        private Throwable rootCause;
    
        DcerpcException(final int error) {
            super(getMessageByDcerpcError(error));
            this.error = error;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top