Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 179 for 1234 (0.02 sec)

  1. tests/go.mod

    module gorm.io/gorm/tests
    
    go 1.23.0
    
    require (
    	github.com/google/uuid v1.6.0
    	github.com/jinzhu/now v1.1.5
    	github.com/lib/pq v1.10.9
    	github.com/stretchr/testify v1.11.1
    	gorm.io/driver/gaussdb v0.1.0
    	gorm.io/driver/mysql v1.6.0
    	gorm.io/driver/postgres v1.6.0
    	gorm.io/driver/sqlite v1.6.0
    	gorm.io/driver/sqlserver v1.6.1
    	gorm.io/gorm v1.30.2
    )
    
    require (
    	filippo.io/edwards25519 v1.1.0 // indirect
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

    public class ContentOutputStreamTest {
    
        @Test
        public void inMemory() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should get and set tree ID")
            void testTreeIdProperty() {
                assertEquals(0, testMessage.getTreeId());
                testMessage.setTreeId(123);
                assertEquals(123, testMessage.getTreeId());
            }
    
            @Test
            @DisplayName("Should propagate tree ID to chained message")
            void testTreeIdPropagation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                byte[] buffer = { 1, 2, 3, 4, 5 };
                response.setRetainPayload(true);
                response.setDigest(null);
    
                response.haveResponse(buffer, 1, 3);
    
                byte[] payload = response.getRawPayload();
                assertNotNull(payload);
                assertEquals(3, payload.length);
                assertArrayEquals(new byte[] { 2, 3, 4 }, payload);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            // Arrange
            Smb2LogoffRequest req = newRequest();
    
            // Act
            int resultWithNull = req.readBytesWireFormat(null, 0);
            int resultWithData = req.readBytesWireFormat(new byte[] { 1, 2, 3 }, 1);
    
            // Assert
            assertEquals(0, resultWithNull, "Should return 0 for null buffer");
            assertEquals(0, resultWithData, "Should return 0 regardless of input data");
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbRandomAccessFile.write(42);
            assertEquals(1, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testWriteByteArray() throws SmbException {
            byte[] testData = new byte[] { 0, 1, 2, 3, 4 };
    
            // Mock the write operation
            doAnswer(new Answer<Void>() {
                @Override
                public Void answer(InvocationOnMock invocation) throws Throwable {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/TransportTest.java

            void shouldIdentifyFailedStates() {
                // Failed states: 5=disconnecting, 6=disconnected/invalid
                int[] failedStates = { 5, 6 };
                int[] nonFailedStates = { 0, 1, 2, 3, 4 };
    
                for (int state : failedStates) {
                    transport.setState(state);
                    assertTrue(transport.isFailed(), "State " + state + " should be failed");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            assertEquals(minFlags, minAvFlags.getFlags(), "Flags should match Integer.MIN_VALUE");
    
            // Test with a negative integer
            int negativeFlags = -12345;
            AvFlags negAvFlags = new AvFlags(negativeFlags);
            assertNotNull(negAvFlags, "AvFlags object should not be null for negative flags");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_operaClassic() {
            getMockRequest().addHeader("user-agent", "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14");
            assertEquals(UserAgentType.OPERA, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_edgeWithChrome() {
            getMockRequest().addHeader("user-agent",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top