Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 2,819 for uint (0.02 sec)

  1. android/guava/src/com/google/common/collect/Multiset.java

       *     zero instead.
       */
      @CanIgnoreReturnValue
      int setCount(@ParametricNullness E element, int count);
    
      /**
       * Conditionally sets the count of an element to a new value, as described in {@link
       * #setCount(Object, int)}, provided that the element has the expected current count. If the
       * current count is not {@code oldCount}, no change is made.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        boolean supportsValuesHashCode = supportsValuesHashCode(map);
        if (supportsValuesHashCode) {
          int expectedEntrySetHash = 0;
          for (Entry<K, V> entry : entrySet) {
            assertTrue(map.containsKey(entry.getKey()));
            assertTrue(map.containsValue(entry.getValue()));
            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

        private int flags;
    
        /**
         * Create a new durable handle V2 response
         */
        public DurableHandleV2Response() {
            // Will be populated during decode
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SIDCacheImpl.java

            }
        }
    
        @Override
        public void resolveSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID[] sids, final int offset,
                final int length) throws CIFSException {
            final ArrayList<SID> list = new ArrayList<>(sids.length);
            int si;
    
            synchronized (this.sidCache) {
                for (si = 0; si < length; si++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbExceptionTest.java

    @DisplayName("SmbException Tests")
    class SmbExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create SmbException with NT status code")
        void testSmbExceptionWithNTStatus() {
            // Given
            int ntStatus = NtStatus.NT_STATUS_ACCESS_DENIED;
    
            // When
            SmbException exception = new SmbException(ntStatus, false);
    
            // Then
            assertNotNull(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        void testGetEntries_largeNumberOfRoots() throws Exception {
            // Create array with many entries
            int count = 100;
            netdfs.DfsEnumArray200 largeArray = new netdfs.DfsEnumArray200();
            largeArray.count = count;
            largeArray.s = new netdfs.DfsInfo200[count];
    
            for (int i = 0; i < count; i++) {
                netdfs.DfsInfo200 entry = new netdfs.DfsInfo200();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    // on it.
    type Reader struct {
    	buf          []byte
    	rd           io.Reader // reader provided by the client
    	r, w         int       // buf read and write positions
    	err          error
    	lastByte     int // last byte read for UnreadByte; -1 means invalid
    	lastRuneSize int // size of last rune read for UnreadRune; -1 means invalid
    }
    
    const minReadBufferSize = 16
    const maxConsecutiveEmptyReads = 100
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
      public void testAwaitDone_future() {
        SettableFuture<@Nullable Void> future = SettableFuture.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test size returns positive message size")
        void testSizeReturnsPositiveValue() {
            // Given
            int expectedSize = 1024;
            when(request.size()).thenReturn(expectedSize);
    
            // When
            int result = request.size();
    
            // Then
            assertEquals(expectedSize, result);
            verify(request, times(1)).size();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/EmptyIteratorTest.java

            // Given
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            try (EmptyIterator sharedIterator = new EmptyIterator()) {
                // When
                for (int i = 0; i < threadCount; i++) {
                    final int index = i;
                    threads[i] = new Thread(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top