Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,126 for diferente (0.04 sec)

  1. src/test/java/jcifs/smb1/UniAddressTest.java

    import jcifs.smb1.netbios.NbtAddress;
    
    /**
     * Unit tests for {@link UniAddress}.  The focus of these tests is on
     * the public API of {@code UniAddress} and its behaviour when provided
     * with different kinds of inputs.  Many static helpers in {@code
     * UniAddress} are network dependent and therefore not exercised here – they
     * would require complex stubbing of static methods.  Instead the tests
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

     * is computed from the monotonic duration since system start to ensure consistency
     * between time measurements.
     * <p>
     * This implementation is singleton-based and always uses UTC timezone. The clock
     * cannot be adjusted to different timezones to maintain consistent monotonic behavior.
     * Users needing local time representation should convert the result of {@link #instant()}
     * to their desired timezone:
     * <pre>{@code
     * Instant now = MonotonicClock.now();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. cmd/batch-replicate.go

    	default:
    		return errInvalidArgument
    	}
    	return nil
    }
    
    func (t BatchJobReplicateResourceType) isMinio() bool {
    	return t == BatchJobReplicateResourceMinIO
    }
    
    // Different types of batch jobs..
    const (
    	BatchJobReplicateResourceMinIO BatchJobReplicateResourceType = "minio"
    	BatchJobReplicateResourceS3    BatchJobReplicateResourceType = "s3"
    
    	// add future targets
    )
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0103, actualInfoLevel);
        }
    
        @DisplayName("Test writeParametersWireFormat with different information levels")
        @ParameterizedTest
        @CsvSource({ "-1, 1", // SMB_INFO_ALLOCATION -> 0x0001
                "3, 259" // FS_SIZE_INFO -> 0x0103
        })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/StringsTest.java

                assertTrue(utf16Bytes.length > 0, "UTF-16LE bytes should not be empty");
                assertNotEquals(utf8Bytes.length, utf16Bytes.length, "Different encodings should produce different lengths");
            }
    
            @ParameterizedTest
            @DisplayName("getBytes should handle various string inputs")
            @NullAndEmptySource
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            assertArrayEquals(secondData, secondResult);
        }
    
        @Test
        void testReadDataWireFormatWithOffset() throws SMBProtocolDecodingException {
            // Test reading data from different buffer offsets
            byte[] testData = "Test data with offset".getBytes();
            byte[] buffer = new byte[200];
            int offset = 50;
            System.arraycopy(testData, 0, buffer, offset, testData.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            // 1. GIVEN
            KerberosAuthData mockAuthData1 = mock(KerberosAuthData.class);
            KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class);
    
            // Mock the parse method to return two different objects based on input
            // Must use matchers for all arguments when using any matcher
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class)))
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class MapGenerators {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            assertSame(sharedProcessor, rule3.getResponseProcessor());
    
            // Different rule IDs
            assertEquals("rule1", rule1.getRuleId());
            assertEquals("rule2", rule2.getRuleId());
            assertEquals("rule3", rule3.getRuleId());
    
            // Different match results
            ResponseData responseData = new ResponseData();
            assertTrue(rule1.match(responseData));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 8, 24));
                assertEquals(24, bytesWritten); // Only structure, no locks
            }
    
            @Test
            @DisplayName("Should write at different buffer positions")
            void testWriteAtDifferentPositions() {
                byte[] buffer = new byte[512];
    
                // Test at position 0
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top