Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 875 for zeroed (0.28 sec)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

        }
    
        public void test_getNewInputs_setNewInputs() {
            String[] inputs = { "old" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            // Initially null for non-zero id
            assertNull(item.getNewInputs());
    
            // Set new inputs
            String[] newInputs = { "new1", "new2" };
            item.setNewInputs(newInputs);
            assertNotNull(item.getNewInputs());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertNotNull(result);
            assertTrue(result.startsWith("NtTransQuerySecurityResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with zero nextEntryOffset stops iteration")
        void testReadParametersWireFormatZeroNextEntryOffset() throws Exception {
            ByteBuffer buffer = ByteBuffer.allocate(200);
            buffer.order(ByteOrder.LITTLE_ENDIAN);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Strings.java

       *
       * @param string the string which should appear at the end of the result
       * @param minLength the minimum length the resulting string must have. Can be zero or negative, in
       *     which case the input string is always returned.
       * @param padChar the character to insert at the beginning of the result until the minimum length
       *     is reached
       * @return the padded string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            byte[] originalDecKey = testDecryptionKey.clone();
    
            // Ensure keys are not zero initially
            assertFalse(isAllZeros(originalEncKey), "Original encryption key should not be all zeros");
            assertFalse(isAllZeros(originalDecKey), "Original decryption key should not be all zeros");
    
            // When
            encryptionContext.secureWipeKeys();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Strings.java

                        log.debug(Hexdump.toHexString(buffer, bufferIndex, len));
                    }
                    throw new RuntimeCIFSException("zero termination not found");
                }
            }
            return len;
        }
    
        /**
         * Decodes a string from OEM-encoded bytes.
         *
         * @param src the byte array containing the encoded string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(0, result);
    
            // Test with different parameters
            result = response.readSetupWireFormat(buffer, 10, 50);
            assertEquals(0, result);
    
            // Test with zero length
            result = response.readSetupWireFormat(buffer, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat returns 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    										combineFilled[i] = 1
    									}
    								}
    								combineFilledBlocks[block] = combineFilled
    								combineSharedBlocks[block] = combineShared
    								fmt.Println("Retrying with merged data")
    								if addedFiles >= len(files[partIdx]) {
    									attempt++
    									goto nextAttempt
    								}
    							}
    						}
    					}
    				}
    				if m.blockOffset != len(combined) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            assertEquals(0, cmd.readParametersWireFormat(buf, 0, buf.length));
            assertEquals(0, cmd.readDataWireFormat(buf, 0, buf.length));
        }
    
        @ParameterizedTest
        @CsvSource({ "0, 0", // all zeros
                "-1, 2147483647", // negative fid, max positive security
                "12345, 999" // arbitrary numbers
        })
        void toString_includesCorrectHexValues(int fid, int securityInformation) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            int result = request.size();
    
            // Then
            assertEquals(expectedSize, result);
            verify(request, times(1)).size();
        }
    
        @Test
        @DisplayName("Test size returns zero for empty message")
        void testSizeReturnsZero() {
            // Given
            when(request.size()).thenReturn(0);
    
            // When
            int result = request.size();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

        }
    
        @Test
        public void hasMoreElements_errorCodeNonZero_returnsFalse() {
            DummyResponse d = new DummyResponse();
            d.setErrorCode(123); // non-zero error
            assertFalse(d.hasMoreElements(), "errorCode non-zero overrides hasMore flag");
        }
    
        @Test
        public void nextElement_firstCall_flipsIsPrimary() {
            DummyResponse d = new DummyResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top