Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 751 for Mount (0.02 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens
     * when maximumSize is reached, etc.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    public class CacheEvictionTest extends TestCase {
      static final int MAX_SIZE = 100;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SIDCacheImpl.java

                            throw new SmbException(rpc.retval, false);
                        }
    
                        final Map<jcifs.SID, List<jcifs.SID>> map = new HashMap<>();
    
                        for (int ei = 0; ei < rpc.sam.count; ei++) {
                            final samr.SamrSamEntry entry = rpc.sam.entries[ei];
    
                            final SID[] mems = getGroupMemberSids(tc, authorityServerName, domSid, entry.idx, flags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            byte[] buffer = new byte[22];
            int idFileSystem = 0;
            int sectPerAlloc = 1000;
            int alloc = 1000000; // Large allocation count
            int free = 500000;
            int bytesPerSect = 4096;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
            offset += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        void release_belowZero_throws() {
            SmbTreeConnection c = newConn();
            RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release);
            assertTrue(ex.getMessage().toLowerCase().contains("usage count"));
        }
    
        @Test
        @DisplayName("isConnected reflects underlying tree state")
        void isConnected_usesTree() {
            SmbTreeConnection c = newConn();
            // No tree -> false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. docs/debugging/inspect/export.go

    	}
    	versions, buf, e = msgp.ReadIntBytes(buf)
    	if e != nil {
    		return 0, buf, e
    	}
    	if versions < 0 {
    		return 0, buf, fmt.Errorf("decodeXLHeaders: Negative version count %d", versions)
    	}
    	return versions, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          aa.set(i, (double) COUNTDOWN);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       * time it is closed. In such calls [byteCount] is the number of bytes returned to the
       * application. This may be smaller than the resource's byte count if were read to completion.
       *
       * This method is always invoked after [responseBodyStart].
       */
      open fun responseBodyEnd(
        call: Call,
        byteCount: Long,
      ) {
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                int result = emptyNameRequest.encode(testBuffer, 0);
                assertTrue(result >= 8); // At least header size
            }
    
            @Test
            @DisplayName("Should count method calls correctly")
            void testMethodCallCounting() {
                assertEquals(0, testRequest.getSizeCallCount());
                assertEquals(0, testRequest.getEncodeCallCount());
    
                testRequest.size();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. tests/joins_test.go

    	DB.Create(&companyA)
    	DB.Create(&companyB)
    
    	user := User{Name: "kingGo", CompanyID: &companyB.ID}
    	DB.Create(&user)
    
    	query := DB.Model(&User{}).Joins("Company")
    
    	var total int64
    	query.Count(&total)
    
    	var result User
    
    	if err := query.First(&result, user.ID).Error; err != nil {
    		t.Fatalf("Failed, got error: %v", err)
    	}
    
    	if result.ID != user.ID {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

         * @param type the SID type
         * @param domainName the domain name for this SID
         * @param acctName the account name for this SID
         * @param decrementAuthority whether to decrement the authority count
         */
        public SID(final rpc.sid_t sid, final int type, final String domainName, final String acctName, final boolean decrementAuthority) {
            this.revision = sid.revision;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
Back to top