Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 162 for 12345 (0.02 seconds)

  1. src/test/java/jcifs/util/transport/MessageTest.java

            assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload");
    
            // Set another payload and verify
            byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 };
            message.setRawPayload(payload2);
            assertArrayEquals(payload2, message.getRawPayload(), "getRawPayload should return the updated payload");
    
            // Set null payload and verify
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Verify that the outputBuffer is stored properly
            byte[] testData = new byte[] { 1, 2, 3, 4, 5 };
            TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
            assertNotNull(testResponse);
        }
    
        @Test
        void testWriteSetupWireFormat() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

        }
    
        /**
         * Test writeBytesWireFormat writes data correctly
         */
        @Test
        public void testWriteBytesWireFormat() {
            // Arrange
            byte[] data = { 1, 2, 3, 4, 5 };
            SmbComWrite write = new SmbComWrite();
            write.setParam(0, 0L, 0, data, 1, 3); // Write bytes 2,3,4
            byte[] dst = new byte[10];
    
            // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2, 3, 4, 5}, -1, new double[] {2, 3, 4, 5, 1});
        testRotate(new double[] {1, 2, 3, 4, 5}, 0, new double[] {1, 2, 3, 4, 5});
        testRotate(new double[] {1, 2, 3, 4, 5}, 1, new double[] {5, 1, 2, 3, 4});
        testRotate(new double[] {1, 2, 3, 4, 5}, 3, new double[] {3, 4, 5, 1, 2});
        testRotate(new double[] {1, 2, 3, 4, 5}, 4, new double[] {2, 3, 4, 5, 1});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

        testRotate(new long[] {1, 2, 3, 4}, 5, new long[] {4, 1, 2, 3});
        testRotate(new long[] {1, 2, 3, 4}, 9, new long[] {4, 1, 2, 3});
    
        testRotate(new long[] {1, 2, 3, 4, 5}, -6, new long[] {2, 3, 4, 5, 1});
        testRotate(new long[] {1, 2, 3, 4, 5}, -4, new long[] {5, 1, 2, 3, 4});
        testRotate(new long[] {1, 2, 3, 4, 5}, -3, new long[] {4, 5, 1, 2, 3});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {1, 2, 3, 4}, 5, new short[] {4, 1, 2, 3});
        testRotate(new short[] {1, 2, 3, 4}, 9, new short[] {4, 1, 2, 3});
    
        testRotate(new short[] {1, 2, 3, 4, 5}, -6, new short[] {2, 3, 4, 5, 1});
        testRotate(new short[] {1, 2, 3, 4, 5}, -4, new short[] {5, 1, 2, 3, 4});
        testRotate(new short[] {1, 2, 3, 4, 5}, -3, new short[] {4, 5, 1, 2, 3});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithWrongOid() throws IOException {
            byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);
            assertThrows(PACDecodingException.class, () -> new KerberosToken(wrongOidToken));
        }
    
        /**
         * Test constructor with a malformed Kerberos token (invalid inner structure).
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertTrue(searchRenderData.getPageNumberList().isEmpty());
    
            // Test with populated list
            List<String> pageNumbers = Arrays.asList("1", "2", "3", "4", "5");
            searchRenderData.setPageNumberList(pageNumbers);
            assertEquals(pageNumbers, searchRenderData.getPageNumberList());
            assertEquals(5, searchRenderData.getPageNumberList().size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  9. utils/utils_test.go

    func TestRTrimSlice(t *testing.T) {
    	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{},
    		},
    		{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {1, 2, 3, 4}, 5, new float[] {4, 1, 2, 3});
        testRotate(new float[] {1, 2, 3, 4}, 9, new float[] {4, 1, 2, 3});
    
        testRotate(new float[] {1, 2, 3, 4, 5}, -6, new float[] {2, 3, 4, 5, 1});
        testRotate(new float[] {1, 2, 3, 4, 5}, -4, new float[] {5, 1, 2, 3, 4});
        testRotate(new float[] {1, 2, 3, 4, 5}, -3, new float[] {4, 5, 1, 2, 3});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
Back to Top