Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 902 for stat1 (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(24, written);
            assertEquals(combinedFlags, SMBUtil.readInt2(buffer, 2));
        }
    
        @Test
        @DisplayName("Test request state after multiple operations")
        void testRequestStateAfterMultipleOperations() throws Exception {
            // Set initial values
            request.setCloseFlags(0x0001);
    
            // Change file ID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  2. internal/lock/lock_nix.go

    		return nil, err
    	}
    
    	if err = syscall.Flock(int(f.Fd()), lockType); err != nil {
    		f.Close()
    		if err == syscall.EWOULDBLOCK {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
     * <p>If your iterator supports modification through {@code remove()}, you may wish to override the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

        /**
         * Gets the file type.
         *
         * @return the fileType
         */
        public final int getFileType() {
            return this.fileType;
        }
    
        /**
         * Gets the device state.
         *
         * @return the deviceState
         */
        public final int getDeviceState() {
            return this.deviceState;
        }
    
        /**
         * Gets the action taken.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. internal/s3select/progress.go

    	pr.closedMu.Lock()
    	defer pr.closedMu.Unlock()
    	if pr.closed {
    		return nil
    	}
    	pr.closed = true
    	if pr.closer != nil {
    		pr.closer.Close()
    	}
    	return pr.rc.Close()
    }
    
    func (pr *progressReader) Stats() (bytesScanned, bytesProcessed int64) {
    	if pr == nil {
    		return 0, 0
    	}
    	return pr.scannedReader.BytesRead(), pr.processedReader.BytesRead()
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 22 00:33:43 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

            // Default constructor - initialization handled by field defaults and clear() method
        }
    
        /**
         * Clears all pager data and resets to default values.
         * This method resets pagination state and clears all request header fields.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            // in test environments, we test that the method exists and can be invoked
            // without throwing unexpected exceptions
            try {
                // Create a new instance to ensure clean state
                SystemMonitorTarget testTarget = new SystemMonitorTarget();
    
                // Try to call the expired method
                // Note: This method may fail in test environments due to system dependencies
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  8. internal/http/server.go

    	// Take a copy of server fields.
    	var tlsConfig *tls.Config
    	if srv.TLSConfig != nil {
    		tlsConfig = srv.TLSConfig.Clone()
    	}
    	handler := srv.Handler // if srv.Handler holds non-synced state -> possible data race
    
    	// Create new HTTP listener.
    	var listener *httpListener
    	listener, listenErrs := newHTTPListener(
    		listenCtx,
    		srv.Addrs,
    		srv.TCPOptions,
    	)
    
    	var interfaceFound bool
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            if (v1 != null) {
                return v1.getLeaseKey();
            }
            return null;
        }
    
        /**
         * Get the lease state from the response
         * @return the lease state or 0 if no lease was granted
         */
        public int getLeaseState() {
            LeaseV2CreateContextResponse v2 = getLeaseV2Context();
            if (v2 != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/Kerb5ContextTest.java

            assertEquals(expected, flags);
        }
    
        @Test
        @DisplayName("isEstablished reflects underlying context state")
        void isEstablished_behavior() throws Exception {
            when(gssContext.isEstablished()).thenReturn(true);
            assertTrue(ctx.isEstablished());
    
            // When gssContext is null, isEstablished returns false
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top