Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 133 for A12345 (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

            @DisplayName("Should maintain data integrity through encode/decode cycle")
            void testEncodeDecodeCycle() throws SMBProtocolDecodingException {
                // Arrange
                int[] hashAlgos = new int[] { 1, 2, 3, 4, 5 };
                byte[] salt = "TestSaltValue123".getBytes();
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        }
    
        @Test
        @DisplayName("readn should read complete data when available")
        void testReadnComplete() throws IOException {
            byte[] buffer = new byte[10];
            byte[] data = { 1, 2, 3, 4, 5 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
    
            int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5);
    
            assertEquals(5, bytesRead);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

        }
    
        @Test
        public void test_parseDocument_nonStringFieldValue() throws Exception {
            Map<String, Object> document = new HashMap<>();
            document.put("content", 12345); // Integer instead of String
    
            List<SuggestItem> items = parser.parseDocument(document, supportedFields, tagFieldNames, roleFieldName, "lang",
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // When an output buffer is provided, bytes are copied and getOutputData(Class) should fail.
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
            byte[] output = new byte[] { 1, 2, 3, 4, 5 };
            byte[] body = buildIoctlResponseBody(Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, new byte[16], 0, null, output.length, output, 0x0);
            byte[] packet = new byte[header.length + body.length];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            verify(request, times(1)).allowChain(null);
        }
    
        @Test
        @DisplayName("Test setTid with positive value")
        void testSetTidWithPositiveValue() {
            // Given
            int tid = 12345;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
        assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read());
        assertArrayEquals(expected, ByteSource.concat(b1, b2, b3).read());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<Integer> iterator = singleton(0).iterator();
        assertEquals(1, Iterators.size(iterator));
      }
    
      public void testSize_partiallyConsumed() {
        Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator();
        iterator.next();
        iterator.next();
        assertEquals(3, Iterators.size(iterator));
      }
    
      public void test_contains_nonnull_yes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java

            doc.put("url", "https://example.com");
            doc.put("title", "Test Title");
            doc.put("role", "Rguest");
            doc.put("boost", "1.0");
            doc.put("content_length", "12345");
            doc.put("click_count", "100");
    
            final List<String> errors = new ArrayList<>();
            AdminSearchlistAction.validateFields(doc, messages -> {
                errors.add("error");
            });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 34.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

         * Test that list operations work
         */
        @Test
        public void test_evaluate_listOperations() {
            final Map<String, Object> params = new HashMap<>();
            final String script = "def list = [1, 2, 3, 4, 5]; return list.sum()";
            assertEquals(15, groovyEngine.evaluate(script, params));
        }
    
        /**
         * Test that map operations work
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

        }
    
        /**
         * Test serialization and deserialization of Integer
         */
        @Test
        public void test_serializeDeserialize_integer() {
            Integer original = 12345;
    
            byte[] serialized = serializer.fromObjectToBinary(original);
            assertNotNull(serialized, "Serialized data should not be null");
    
            Object deserialized = serializer.fromBinaryToObject(serialized);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
Back to Top