Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 886 for zero (0.01 sec)

  1. cmd/metacache-stream_test.go

    t.wb.expect", "src/compress/flate/testdata/huffman-text.wb.expect-noinput", "src/compress/flate/testdata/huffman-zero.dyn.expect", "src/compress/flate/testdata/huffman-zero.dyn.expect-noinput", "src/compress/flate/testdata/huffman-zero.golden", "src/compress/flate/testdata/huffman-zero.in", "src/compress/flate/testdata/huffman-zero.wb.expect", "src/compress/flate/testdata/huffman-zero.wb.expect-noinput", "src/compress/flate/testdata/null-long-match.dyn.expect-noinput", "src/compress/flate/testda...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertEquals(action, notifyInfo.getAction());
            assertEquals(fileName, notifyInfo.getFileName());
        }
    
        @Test
        @DisplayName("Test decode with multiple entries (non-zero next offset)")
        void testDecodeWithNextEntry() throws SMBProtocolDecodingException {
            String fileName = "test.txt";
            int action = FileNotifyInformation.FILE_ACTION_REMOVED;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SecurityBlobTest.java

        }
    
        // Verifies that toString() formats bytes as lower-case hex with zero-padding
        @ParameterizedTest(name = "toString renders hex for {0}")
        @MethodSource("hexCases")
        @DisplayName("toString() renders lower-case hex with zero-padding")
        void toString_rendersHex(byte[] input, String expected) {
            // Arrange
            SecurityBlob blob = new SecurityBlob(input);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Prepare test data
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
            // Set wordCount to non-zero
            setFieldValue(response, "wordCount", 10);
    
            // Write test data to buffer
            int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/UUIDTest.java

                        "toString() should return the correct UUID string in uppercase for lowercase input");
            }
    
            @Test
            @DisplayName("toString() should handle zero UUID correctly")
            void testToStringZeroUuid() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = 0;
                rpcUuid.time_mid = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testValidArrayAllocation() throws Exception {
            validator.validateArrayAllocation(100, 10, 1000);
            validator.validateArrayAllocation(0, 10, 1000); // Zero size should be allowed
        }
    
        @Test
        public void testArrayAllocationNegativeSize() throws Exception {
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            // Then
            assertEquals(8, result);
            assertEquals(0xffffL, instance.getCount());
        }
    
        /**
         * Test of readParameterWordsWireFormat with zero count
         */
        @Test
        public void testReadParameterWordsWireFormatZeroCount() {
            // Given
            byte[] buffer = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/slice.go

    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    func (s *Slice) Next() ScanToken {
    	s.pos++
    	if s.pos >= len(s.tokens) {
    		return scanner.EOF
    	}
    	return s.tokens[s.pos].ScanToken
    }
    
    func (s *Slice) Text() string {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        }
    
        @Test
        @DisplayName("release() below zero usage throws RuntimeCIFSException")
        void release_withoutAcquire_throwsRuntimeCIFSException() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
            // Act & Assert: calling release without prior acquire drops usage below zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Test setting new value
            emptyGenerator.setDirectoryNameLength(10);
            assertEquals(10, emptyGenerator.directoryNameLength);
    
            // Test setting zero value
            emptyGenerator.setDirectoryNameLength(0);
            assertEquals(0, emptyGenerator.directoryNameLength);
    
            // Test setting negative value
            emptyGenerator.setDirectoryNameLength(-1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top