Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,800 for constant (0.09 sec)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @DisplayName("Should have correct FS_SIZE_INFO constant value")
            void testFsSizeInfoConstant() {
                assertEquals((byte) 3, FileSystemInformation.FS_SIZE_INFO);
            }
    
            @Test
            @DisplayName("Should have correct FS_FULL_SIZE_INFO constant value")
            void testFsFullSizeInfoConstant() {
                assertEquals((byte) 7, FileSystemInformation.FS_FULL_SIZE_INFO);
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final long UNSPECIFIED_SESSIONID = 0xFFFFFFFFFFFFFFFFL;
    
        /**
         * SMB2 Channel constant for RDMA V1
         * Used in SMB2 READ and WRITE requests to indicate RDMA channel
         */
        public static final int SMB2_CHANNEL_RDMA_V1 = 0x00000001;
    
        /**
         * SMB2 Channel constant for RDMA V1 invalidate
         * Used to indicate RDMA with invalidation
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

    /**
     * Tests for SpnegoConstants interface.
     * Verifies constant values, modifiers, types, and structural properties.
     */
    class SpnegoConstantsTest {
    
        // Simple OID format: numbers separated by dots (at least one dot)
        private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+");
    
        @Test
        @DisplayName("Constant values match expected OIDs")
        void constantValues() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        }
    
        @Test
        @DisplayName("MonotonicClock start time should remain constant")
        void testStartTime() throws InterruptedException {
            Instant start1 = MonotonicClock.start();
            Thread.sleep(10);
            Instant start2 = MonotonicClock.start();
    
            assertEquals(start1, start2, "Start time should remain constant");
            assertNotNull(start1, "Start time should not be null");
        }
    
        @Nested
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

     *
     */
    public class SitemapSet implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /** Constant for UrlSet type. */
        public static final String URLSET = "UrlSet";
    
        /** Constant for Index type. */
        public static final String INDEX = "Index";
    
        /** The list of sitemaps in this set. */
        private final List<Sitemap> sitemapList = new ArrayList<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share type constant for disk shares (file shares).
         */
        public static final byte SMB2_SHARE_TYPE_DISK = 0x1;
        /**
         * Share type constant for named pipe shares (IPC).
         */
        public static final byte SMB2_SHARE_TYPE_PIPE = 0x2;
        /**
         * Share type constant for printer shares.
         */
        public static final byte SMB2_SHARE_TYPE_PRINT = 0x3;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            verifyNoInteractions(mocked);
        }
    
        // Reflection-based check: ensure serialVersionUID remains the declared constant
        @Test
        @DisplayName("serialVersionUID matches declared constant")
        void serialVersionUID_hasExpectedValue() throws Exception {
            // Arrange
            Field f = SMBSignatureValidationException.class.getDeclaredField("serialVersionUID");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/NetbiosAddressTest.java

            assertEquals("*SMBSERVER     ", NbtAddress.SMBSERVER_NAME);
    
            // Test node type constants
            assertEquals(0, NbtAddress.B_NODE);
            assertEquals(1, NbtAddress.P_NODE);
            assertEquals(2, NbtAddress.M_NODE);
            assertEquals(3, NbtAddress.H_NODE);
    
            // Test unknown MAC address constant
            assertNotNull(NbtAddress.UNKNOWN_MAC_ADDRESS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. internal/kms/stub.go

    	"slices"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/pkg/v3/wildcard"
    )
    
    var (
    	// StubCreatedAt is a constant timestamp for testing
    	StubCreatedAt = time.Date(2024, time.January, 1, 15, 0, 0, 0, time.UTC)
    	// StubCreatedBy is a constant created identity for testing
    	StubCreatedBy = "MinIO"
    )
    
    // NewStub returns a stub of KMS for testing
    func NewStub(defaultKeyName string) *KMS {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. cmd/rebalstatus_string.go

    // Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 795 bytes
    - Viewed (0)
Back to top