Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 954 for stat1 (0.1 seconds)

  1. 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)
  2. 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)
  3. tensorflow/c/eager/c_api_unified_experimental_internal.h

                                        const PartialTensorShape& shape,
                                        TracingTensorHandle**) = 0;
    
      // Finalize this context and make a function out of it. The context is in a
      // invalid state after this call and must be destroyed.
      virtual absl::Status Finalize(OutputList* outputs, AbstractFunction**) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMaker.java

     * operations. A partially-reclaimed entry is never exposed to the user. Any {@link Map.Entry}
     * instance retrieved from the map's {@linkplain Map#entrySet entry set} is a snapshot of that
     * entry's state at the time of retrieval; such entries do, however, support {@link
     * Map.Entry#setValue}, which simply calls {@link Map#put} on the entry's key.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple decodes")
            void testMultipleDecodes() throws SMBProtocolDecodingException {
                // First decode
                byte[] buffer1 = createValidCopyChunkResponse(1, 1024, 1024);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  6. 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)
  7. src/main/java/org/codelibs/core/misc/AssertionUtil.java

            }
        }
    
        /**
         * Asserts that the state is not invalid.
         *
         * @param expression
         *            The precondition.
         * @param description
         *            The description of why the state is invalid.
         * @throws ClIllegalStateException
         *             If {@code expression} is false.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

        void setUp() {
            buffer = new byte[1024]; // Initialize with a reasonable size
            ndrBuffer = new NdrBuffer(buffer, 0);
        }
    
        @Test
        void testConstructor() {
            // Verify initial state
            assertEquals(0, ndrBuffer.start);
            assertEquals(0, ndrBuffer.index);
            assertEquals(0, ndrBuffer.length);
            assertSame(ndrBuffer, ndrBuffer.deferred);
            assertSame(buffer, ndrBuffer.buf);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            assertTrue(ex.getMessage().toLowerCase().contains("usage count"));
        }
    
        @Test
        @DisplayName("isConnected reflects underlying tree state")
        void isConnected_usesTree() {
            SmbTreeConnection c = newConn();
            // No tree -> false
            assertFalse(c.isConnected());
    
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. cmd/update.go

    	if err != nil {
    		return t, fmt.Errorf("Unable to get absolute path of %s. %w", path, err)
    	}
    
    	// Version is minio non-standard, we will use minio binary's
    	// ModTime as release time.
    	fi, err := Stat(absPath)
    	if err != nil {
    		return t, fmt.Errorf("Unable to get ModTime of %s. %w", absPath, err)
    	}
    
    	// Return the ModTime
    	return fi.ModTime().UTC(), nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
Back to Top