Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 412 for Needed (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            }
    
            @Test
            @DisplayName("Should decode minimum buffer size")
            void testDecodeMinimumBufferSize() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[12]; // Exact size needed
                SMBUtil.writeInt4(3, buffer, 0);
                SMBUtil.writeInt4(4096, buffer, 4);
                SMBUtil.writeInt4(12288, buffer, 8);
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                    && this.dataDisplacement + this.dataCount >= this.totalDataCount) {
                this.hasMore = false;
            }
            return this;
        }
    
        /**
         * Calculates padding needed for the given offset
         * @param offset
         *            the current offset
         * @return padding size in bytes
         */
        protected int pad(final int offset) {
            final int p = offset % getPadding();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        @DisplayName("Should handle buffer boundary conditions")
        void testBufferBoundaryConditions() throws Exception {
            // Given - notification exactly at buffer end
            byte[] buffer = new byte[104]; // Exact size needed
            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Write structure
            SMBUtil.writeInt2(9, buffer, offset);
            SMBUtil.writeInt2(80 - 64, buffer, offset + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

        return newDelegate;
      }
    
      @VisibleForTesting
      boolean isUsingHashFloodingResistance() {
        return delegateOrNull() != null;
      }
    
      /** Stores the hash table mask as the number of bits needed to represent an index. */
      private void setHashTableMask(int mask) {
        int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask);
        metadata =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

    @ExtendWith(MockitoExtension.class)
    @DisplayName("Type3Message Tests")
    class Type3MessageTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @BeforeEach
        void setUp() {
            // Basic setup for mock context if needed
        }
    
        /**
         * Helper method to create properly configured mock context
         */
        private CIFSContext createMockContext() {
            CIFSContext mockCtx = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. src/archive/tar/format.go

    	// Max length of a special file (PAX header, GNU long name or link).
    	// This matches the limit used by libarchive.
    	maxSpecialFileSize = 1 << 20
    )
    
    // blockPadding computes the number of bytes needed to pad offset up to the
    // nearest block edge where 0 <= n < blockSize.
    func blockPadding(offset int64) (n int64) {
    	return -offset & (blockSize - 1)
    }
    
    var zeroBlock block
    
    type block [blockSize]byte
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

        const TF_ImportGraphDefOptions* options, TF_Status* status);
    
    // Import the graph serialized in `graph_def` into `graph`.
    // Convenience function for when only return outputs are needed.
    //
    // `num_return_outputs` must be the number of return outputs added (i.e. the
    // result of TF_ImportGraphDefOptionsNumReturnOutputs()).  If
    // `num_return_outputs` is non-zero, `return_outputs` must be of length
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        this.sortedDelegate = Collections.unmodifiableSortedSet(sortedDelegate);
      }
    
      @Override
      public Comparator<? super E> comparator() {
        return sortedDelegate.comparator();
      }
    
      @Override // needed to unify SortedIterable and Collection iterator() methods
      public UnmodifiableIterator<E> iterator() {
        return super.iterator();
      }
    
      @Override
      public Object[] toArray() {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertArrayEquals(newFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test edge case with minimum buffer size")
        void testMinimumBufferSize() {
            byte[] buffer = new byte[24]; // Exact size needed
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. docs/smb3-features/04-directory-leasing-design.md

                    // Remove from cache to force refresh
                    entry.removeChild(childName);
                    break;
                    
                case DIRECTORY_RENAMED:
                    // Full invalidation needed
                    entry.invalidate();
                    break;
            }
        }
        
        public void handleDirectoryLeaseBreak(Smb2LeaseKey leaseKey, int newState) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top