Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 4,114 for inT (0.12 sec)

  1. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

     * #hashBytes(byte[], int, int)} method.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    abstract class AbstractNonStreamingHashFunction extends AbstractHashFunction {
      @Override
      public Hasher newHasher() {
        return newHasher(32);
      }
    
      @Override
      public Hasher newHasher(int expectedInputSize) {
        Preconditions.checkArgument(expectedInputSize >= 0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 04 15:39:10 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        void testWriteDataWireFormatWithOffsetAndLength() {
            // Given
            int dataOffset = 2;
            int dataLength = 5;
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, dataOffset, dataLength);
            byte[] dst = new byte[100];
            int dstIndex = 10;
    
            // When
            int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, dstIndex);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          }
        }
      }
    
      private static class Sink extends AbstractStreamingHasher {
        final int chunkSize;
        final int bufferSize;
        final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        int processCalled = 0;
        boolean remainingCalled = false;
    
        Sink(int chunkSize, int bufferSize) {
          super(chunkSize, bufferSize);
          this.chunkSize = chunkSize;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

        // see https://msdn.microsoft.com/en-us/library/dd414577.aspx
    
        private int namedPipeState;
        private int readDataAvailable;
        private int numberOfMessages;
        private int messageLength;
        private byte[] data;
    
        /**
         * Gets the current state of the named pipe
         * @return the namedPipeState
         */
        public int getNamedPipeState() {
            return this.namedPipeState;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        }
    
        /** The default page size. */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /** The default current page number. */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /** The total number of records. */
        private int allRecordCount;
    
        /** The total number of pages. */
        private int allPageCount;
    
        /** True if a previous page exists. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. utils/utils_test.go

    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    		{
    			name:     "Trim two elements from end",
    			input:    []int{1, 2, 3, 4, 5},
    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

        /**
         * SID type indicating a local group or alias.
         */
        public static final int SID_TYPE_ALIAS = lsarpc.SID_NAME_ALIAS;
        /**
         * SID type indicating a well-known group.
         */
        public static final int SID_TYPE_WKN_GRP = lsarpc.SID_NAME_WKN_GRP;
        /**
         * SID type indicating a deleted account.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/BufferCacheTest.java

         */
        private static class TestBufferCacheImpl implements BufferCache {
            private final List<byte[]> cache;
            private final int bufferSize;
            private final int maxBuffers;
    
            public TestBufferCacheImpl(int maxBuffers, int bufferSize) {
                this.maxBuffers = maxBuffers;
                this.bufferSize = bufferSize;
                this.cache = new ArrayList<>(maxBuffers);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // Then - Use reflection to verify protected field
            Field flagsField = DcerpcMessage.class.getDeclaredField("flags");
            flagsField.setAccessible(true);
            int flagsValue = (int) flagsField.get(msrpcSamrConnect2);
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top