Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 296 for Mark (0.02 seconds)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    Smb2QueryDirectoryResponse qr = new Smb2QueryDirectoryResponse(config, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
                    // Mark response as received and set status = NT_STATUS_NO_SUCH_FILE
                    setStatus(qr, NtStatus.NT_STATUS_NO_SUCH_FILE);
                    qr.received();
                    q.setResponse(qr);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals("user2", ((SID) resolvedFirst[1]).acctName);
    
            // Second call with overlap should use cache for s2 and s3, requiring only s3 if not cached
            // Mark s3 unresolved to force resolve of one element
            doAnswer(inv -> {
                SID[] toResolve = inv.getArgument(2);
                for (SID s : toResolve) {
                    s.type = jcifs.SID.SID_TYPE_USER;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                // Write response (echo responses don't write data)
                int bytesWritten = echoResponse.writeBytesWireFormat(buffer, 0);
                assertEquals(0, bytesWritten);
    
                // Mark as received
                echoResponse.received();
                assertTrue(echoResponse.isReceived());
                assertFalse(echoResponse.isError());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. cmd/erasure-decode.go

    func (p *parallelReader) Done() {
    	if p.stashBuffer != nil {
    		globalBytePoolCap.Load().Put(p.stashBuffer)
    		p.stashBuffer = nil
    	}
    }
    
    // preferReaders can mark readers as preferred.
    // These will be chosen before others.
    func (p *parallelReader) preferReaders(prefer []bool) {
    	if len(prefer) != len(p.orgReaders) {
    		return
    	}
    	// Copy so we don't change our input.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

        /**
         * Check if cache needs refresh
         *
         * @return true if refresh needed
         */
        public boolean needsRefresh() {
            return isExpired() || hasChanges;
        }
    
        /**
         * Mark the cache as complete (full enumeration cached)
         */
        public void markComplete() {
            lock.writeLock().lock();
            try {
                this.isComplete = true;
                this.hasChanges = false;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

        /**
         * Build a minimal SMB2 header for a response.
         */
        private static byte[] buildSmb2Header() {
            byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length);
            // Mark as server->client response for realism
            SMBUtil.writeInt4(0x00000001, header, 16); // Flags
            // Command SMB2_CREATE (0x0005)
            SMBUtil.writeInt2(0x0005, header, 12);
            // Some message id
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      @Throws(IOException::class)
      internal fun removeEntry(entry: Entry): Boolean {
        // If we can't delete files that are still open, mark this entry as a zombie so its files will
        // be deleted when those files are closed.
        if (!civilizedFileSystem) {
          if (entry.lockingSourceCount > 0) {
            // Mark this entry as 'DIRTY' so that if the process crashes this entry won't be used.
            journalWriter?.let {
              it.writeUtf8(DIRTY)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ComparisonChain.java

     * even when the result of the comparison is already known from previous {@code .compare} calls.
     * That can be expensive.
     *
     * @author Mark Davis
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ComparisonChain {
      private ComparisonChain() {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            }
        }
    
        /**
         * @return the resolveHashes
         */
        @Override
        public boolean isResolveHashes() {
            return this.resolveHashes;
        }
    
        /**
         * Mark this referral as intermediate (requires further resolution)
         */
        public void intermediate() {
            this.intermediate = true;
        }
    
        /**
         * @return the intermediate
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/SecureCredentialStorage.java

        public void destroy() throws DestroyFailedException {
            if (!destroyed) {
                boolean failedToDestroy = false;
                Exception destroyException = null;
    
                try {
                    // Mark as destroyed first to prevent further operations
                    destroyed = true;
    
                    // Try to destroy master key if it implements Destroyable
                    if (masterKey instanceof Destroyable) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top