Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 736 for Constant (0.05 sec)

  1. src/test/java/jcifs/util/EncdecTest.java

        void testTimeOperations() {
            // Given
            Date currentDate = new Date();
            byte[] buffer = new byte[8];
    
            // When - Use direct encoding methods since time constants are private
            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
            long decoded = Encdec.dec_uint64le(buffer, 0);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertEquals(port1, port2);
                assertEquals(port2, port3);
                assertEquals(443, port1);
            }
        }
    
        @Nested
        @DisplayName("Constants Tests")
        class ConstantsTests {
    
            @Test
            @DisplayName("DEFAULT_HTTPS_PORT should be 443")
            void testDefaultHttpsPortValue() {
                // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      <mime-type type="application/x-msdownload;format=pe">
        <sub-class-of type="application/x-msdownload"/>
        <magic priority="55">
          <!-- Technically the header offset is stored at 0x3c, and isn't a -->
          <!-- constant, but it's almost always set to start at 0x80, 0xb0, -->
          <!-- 0xd0 or 0xf0. Will always have the MZ msdoc header too. -->
          <match value="MZ" type="string" offset="0">
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (5)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.AccessResult;
    import org.codelibs.fess.crawler.entity.OpenSearchUrlQueue;
    import org.codelibs.fess.crawler.entity.UrlQueue;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 16.9K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.codelibs.fess.suggest.constants.SuggestConstants;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.junit.Test;
    
    public class PopularWordsResponseTest {
    
        @Test
        public void test_constructor() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

            if (projectRealm != null) {
                Thread.currentThread().setContextClassLoader(projectRealm);
            }
        }
    
        protected static class Clock {
            Instant start;
            Instant end;
            Instant resumed;
            Duration exec = Duration.ZERO;
    
            protected void start() {
                if (start == null) {
                    start = MonotonicClock.now();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify total data count at correct offset
            assertEquals(1000, SMBUtil.readInt4(dst, startOffset + 7));
        }
    
        @Test
        @DisplayName("Test constants are properly defined")
        void testConstants() {
            // Verify the NT transaction function constants
            assertEquals(0x6, SmbComNtTransaction.NT_TRANSACT_QUERY_SECURITY_DESC);
            assertEquals(0x4, SmbComNtTransaction.NT_TRANSACT_NOTIFY_CHANGE);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. cmd/warm-backend-minio.go

    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    // object storage it will have the following parameters as constants.
    //
    //	maxPartsCount - 10000
    //	maxMultipartPutObjectSize - 5TiB
    func optimalPartSize(objectSize int64) (partSize int64, err error) {
    	// object size is '-1' set it to 5TiB.
    	if objectSize == -1 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4K bytes
    - Viewed (1)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              IllegalAccessException,
              InvocationTargetException,
              FactoryMethodReturnsNullException {
        if (cls.isEnum()) {
          T[] constants = cls.getEnumConstants();
          if (constants != null && constants.length > 0) {
            return constants[0];
          } else {
            return null;
          }
        }
        TypeToken<T> type = TypeToken.of(cls);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            packet.readHeaderWireFormat(bais, buffer, 0);
    
            assertEquals(0x1FFFF, packet.length);
        }
    
        // Test for constants
        @Test
        @DisplayName("Constants should have expected values")
        void testConstants() {
            assertEquals(0x00, SessionServicePacket.SESSION_MESSAGE);
            assertEquals(0x81, SessionServicePacket.SESSION_REQUEST);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top