Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 629 for varios (0.04 seconds)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            message.setFlag(0b0001, false);
            assertEquals(0b1000, message.getFlags(), "Clearing an unset flag should not change other flags.");
        }
    
        @Test
        void testReadULong() {
            // Test readULong with various values
            byte[] data = new byte[8];
            ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN);
    
            // Test with a positive value
            buffer.putInt(0, 0x12345678);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/util/SMBUtilTest.java

            SMBUtil.writeInt8(input, buffer, 0);
            long result = SMBUtil.readInt8(buffer, 0);
            assertEquals(input, result);
        }
    
        @Test
        void testTimeConversionRoundTrip() {
            // Test various time values
            long[] testTimes = { 1000L, 1500000000000L, System.currentTimeMillis() };
            byte[] buffer = new byte[8];
    
            for (long time : testTimes) {
                SMBUtil.writeTime(time, buffer, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

                "32768, 16384, 'test*.txt', 500, 32768" })
        void testConstructorWithVariousParameters(int sid, int resumeKey, String filename, int batchCount, int batchSize) {
            // Test constructor with various parameter combinations
            trans2FindNext2 = new Trans2FindNext2(config, sid, resumeKey, filename, batchCount, batchSize);
    
            assertNotNull(trans2FindNext2);
    
            // Verify parameters are written correctly
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/util/Base64Test.java

     * payload sizes, padding rules, and error conditions such as null and empty
     * input.
     */
    @ExtendWith(MockitoExtension.class)
    class Base64Test {
    
        /**
         * Data provider for various byte arrays and the expected Base64 string.
         */
        static Stream<Arguments> encodeProvider() {
            return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A"
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

    /**
     * An SPI interface to extend Maven with new enum values for extensible enumerations.
     * <p>
     * Maven uses extensible enumerations to allow plugins and extensions to add new values
     * to various categories like languages, scopes, and packaging types. This interface is the
     * base for all providers that register such extensions.
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

     * to the construction and invocation of Maven commands and builds, and it fully parses arguments.
     *
     * <p>The Invoker is designed to be flexible, allowing for different implementations
     * that can handle various types of {@link InvokerRequest InvokerRequests}. It also implements
     * {@link AutoCloseable} to ensure proper resource management.</p>
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Invoker extends AutoCloseable {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        }
    
        /**
         * Test FileEndOfFileInformation with various end of file values
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1024L, 1048576L })
        @DisplayName("Test FileEndOfFileInformation with various values")
        void testFileEndOfFileInformationWithVariousValues(long endOfFile) throws SMBProtocolDecodingException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. cmd/site-replication-metrics.go

    )
    
    //go:generate msgp -file $GOFILE
    
    // RStat has replication error stats
    type RStat struct {
    	Count int64 `json:"count"`
    	Bytes int64 `json:"bytes"`
    }
    
    // RTimedMetrics has replication error stats for various time windows
    type RTimedMetrics struct {
    	LastHour    ReplicationLastHour `json:"lastHour"`
    	SinceUptime RStat               `json:"sinceUptime"`
    	LastMinute  ReplicationLastMinute
    	// Error counts
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNull(result);
        }
    
        @Test
        void testPopulateWithVariousIPFormats() throws Exception {
            // Create a temporary lmhosts file with various IP formats
            File lmhostsFile = tempDir.resolve("lmhosts_ips").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("1.2.3.4 HOST1\n");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

    import org.codelibs.fess.suggest.request.RequestBuilder;
    import org.opensearch.transport.client.Client;
    
    /**
     * Builder for creating a {@link PopularWordsRequest} to fetch popular words.
     * This builder provides methods to set various parameters for the request.
     */
    public class PopularWordsRequestBuilder extends RequestBuilder<PopularWordsRequest, PopularWordsResponse> {
        /**
         * Constructor for PopularWordsRequestBuilder.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top