Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 889 for certify (0.05 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.any;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    class SourcesTest {
        @TempDir
        Path tempDir;
    
        @Test
        void testFromPath() {
            Path path = Paths.get("/tmp");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

        @BeforeEach
        void setUp() {
            buffer = new byte[1024]; // Initialize with a reasonable size
            ndrBuffer = new NdrBuffer(buffer, 0);
        }
    
        @Test
        void testConstructor() {
            // Verify initial state
            assertEquals(0, ndrBuffer.start);
            assertEquals(0, ndrBuffer.index);
            assertEquals(0, ndrBuffer.length);
            assertSame(ndrBuffer, ndrBuffer.deferred);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("Connection Pool Performance: %d ops in %.2f ms (%.2f ms avg per thread)%n", successCount.get(), overallTimeMs,
                    avgThreadTimeMs);
    
            // Verify performance improvements
            assertTrue(exceptions.isEmpty(), "No exceptions should occur during concurrent access");
            assertEquals(threadCount * operationsPerThread, successCount.get());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_macros_internal.h

    #ifndef TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    #define TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    
    #ifdef __cplusplus
    #include "tensorflow/core/platform/status.h"
    
    // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized.
    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Mar 13 17:40:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        @Override
        protected Iterator<T> newTargetIterator() {
          // make copy from master to verify later
          targetList = Lists.newArrayList(master);
          Iterator<T> iterator = targetList.iterator();
          return Iterators.peekingIterator(iterator);
        }
    
        @Override
        protected void verify(List<T> elements) {
          // verify same objects were removed from reference and target
          assertEquals(elements, targetList);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Test that the exception has serialVersionUID defined
            String message = "Serialization test";
            SearchEngineClientException exception = new SearchEngineClientException(message);
    
            // Verify the exception can be created (serialVersionUID is defined in the class)
            assertNotNull(exception);
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_stackTrace() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(24, SMBUtil.SMB_HEADER.length);
    
            // Verify SMB header signature
            assertEquals((byte) 0xFF, SMBUtil.SMB_HEADER[0]);
            assertEquals((byte) 'S', SMBUtil.SMB_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB_HEADER[2]);
            assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]);
    
            // Verify remaining bytes are zeros
            for (int i = 4; i < 24; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            // Then
            assertNotNull(msrpcSamrOpenAlias, "MsrpcSamrOpenAlias object should not be null");
    
            // Verify that ptype and flags are set correctly using reflection
            try {
                java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype");
                ptypeField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        public void testAllFieldsArePublic() {
            // Get all declared fields
            Field[] fields = ServerData.class.getDeclaredFields();
    
            // Verify we have the expected number of fields
            assertEquals(19, fields.length);
    
            // Verify all fields are public
            for (Field field : fields) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top