Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 1,279 for exported (0.33 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(0, SMBUtil.readInt2(buffer, 2));
    
            // Reserved (4 bytes) - The implementation skips writing these bytes,
            // so they will have the initial pattern (0xCCCCCCCC)
            // This is expected behavior as seen in the implementation at line 131
            assertEquals((byte) 0xCC, buffer[4]);
            assertEquals((byte) 0xCC, buffer[5]);
            assertEquals((byte) 0xCC, buffer[6]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            try {
                urlFilter.processUrl(null);
                // Should handle null gracefully or throw appropriate exception
            } catch (NullPointerException e) {
                // Expected behavior for null input
                assertTrue(true);
            }
        }
    
        /**
         * Test processUrl with empty URL
         */
        public void test_processUrl_emptyUrl() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

        ) {
          private val boundary: ByteString = boundary.encodeUtf8()
          private var type = MIXED
          private val parts = mutableListOf<Part>()
    
          /**
           * Set the MIME type. Expected values for `type` are [MIXED] (the default), [ALTERNATIVE],
           * [DIGEST], [PARALLEL] and [FORM].
           */
          fun setType(type: MediaType) =
            apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/FileNotifyInformationTest.java

                        | FileNotifyInformation.FILE_NOTIFY_CHANGE_STREAM_SIZE | FileNotifyInformation.FILE_NOTIFY_CHANGE_STREAM_WRITE;
    
                // Expected value when all flags are combined
                assertEquals(0x00000FFF, allFlags);
            }
    
            @Test
            @DisplayName("Test removing specific filter flag")
            void testRemovingFilterFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(handle.isValid()).thenReturn(false);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid");
            assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect"));
        }
    
        // Happy path for SMB2: a response is received and the list is returned; tree is closed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            resp.command = ServerMessageBlock.SMB_COM_NT_CREATE_ANDX;
            resp.isExtended = true;
    
            byte[] buf = new byte[256];
            buf[33] = 34; // baseline wordCount reported by server
            buf[34] = (byte) 0xFF; // no further andx
            // byteCount at 33 + 1 + 34*2 = 102
            ServerMessageBlock.writeInt2(0, buf, 102);
    
            int n = resp.decode(buf, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. tests/prepared_stmt_test.go

    	AssertEqual(t, ok, true)
    	// Assert whether the number of statement keys stored in the PreparedStmtDB is 0 after 40 seconds.
    	// If it is not 0, it means the statements in the cache have not expired as expected.
    	AssertEqual(t, len(conn.Stmts.Keys()), 0)
    
    }
    
    func TestPreparedStmtDeadlock(t *testing.T) {
    	tx, err := OpenTestConnection(&gorm.Config{})
    	AssertEqual(t, err, nil)
    
    	sqlDB, _ := tx.DB()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        void testInterfaceImplementation() {
            // Given
            CommonServerMessageBlockRequest implementation = mock(CommonServerMessageBlockRequest.class);
    
            // When/Then - Verify the interface extends the expected interfaces
            assertTrue(CommonServerMessageBlock.class.isAssignableFrom(CommonServerMessageBlockRequest.class));
            assertTrue(jcifs.util.transport.Request.class.isAssignableFrom(CommonServerMessageBlockRequest.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacLogonInfoTest.java

            assertEquals("Malformed PAC", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test getters return expected values using mocks")
        void testGetters() throws Exception {
            // Use mocking to test getters without complex PAC data creation
            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. cmd/metacache-entries.go

    	metadata []byte
    
    	// cached contains the metadata if decoded.
    	cached *xlMetaV2
    
    	// Indicates the entry can be reused and only one reference to metadata is expected.
    	reusable bool
    }
    
    // isDir returns if the entry is representing a prefix directory.
    func (e metaCacheEntry) isDir() bool {
    	return len(e.metadata) == 0 && strings.HasSuffix(e.name, slashSeparator)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top