Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,036 for wong (0.03 sec)

  1. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        private static class MockThumbnailManager extends ThumbnailManager {
            private long purgeCallCount = 0;
            private long purgeExpiry = 0;
            private boolean throwException = false;
            private String exceptionMessage = null;
    
            @Override
            public long purge(final long expiry) {
                purgeExpiry = expiry;
                if (throwException) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            SmbShareInfo instance = new SmbShareInfo();
            long expResult = 0L;
            long result = instance.createTime();
            assertEquals(expResult, result);
        }
    
        /**
         * Test of lastModified method, of class SmbShareInfo.
         */
        @Test
        void testLastModified() {
            SmbShareInfo instance = new SmbShareInfo();
            long expResult = 0L;
            long result = instance.lastModified();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Then
                assertEquals(24, bytesConsumed);
                // Note: multiplication may overflow, but that's expected behavior
                long expectedCapacity = Long.MAX_VALUE * (long) Integer.MAX_VALUE * (long) Integer.MAX_VALUE;
                assertEquals(expectedCapacity, fileFsSizeInfo.getCapacity());
            }
    
            @Test
            @DisplayName("Should decode buffer with offset correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       *
       * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466
       */
      fun schedule(
        name: String,
        delayNanos: Long = 0L,
        block: () -> Long,
      ) {
        schedule(
          object : Task(name) {
            override fun runOnce(): Long = block()
          },
          delayNanos,
        )
      }
    
      /**
       * Executes [block] once on a task runner thread.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            super.setUp();
            originalFessConfig = ComponentUtil.getFessConfig();
    
            // Set up test configuration
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getMailFromName() {
                    return "Test Admin";
                }
    
                @Override
                public String getMailFromAddress() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

        /**
         * Parameterised test for a selection of edge and typical values.
         */
        @ParameterizedTest(name = "Encode and decode {0}")
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
        public void testEncodeWithVariousValues(long val) throws NdrException {
            NdrHyper hyper = new NdrHyper(val);
            // Create buffer with extra space for alignment
            NdrBuffer buf = new NdrBuffer(new byte[16], 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            assertNotNull(deleteQuery);
        }
    
        public void test_execute_withLongExceptionMessage() {
            // Create a very long exception message
            StringBuilder longMessage = new StringBuilder("Error: ");
            for (int i = 0; i < 100; i++) {
                longMessage.append("This is a very long error message part ").append(i).append(". ");
            }
            final String errorMessage = longMessage.toString();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (valueSeparator.length() > 0) {
                final String[] values = rolesStr.split(valueSeparator);
                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      private inner class FixedLengthSource(
        url: HttpUrl,
        private var bytesRemaining: Long,
      ) : AbstractSource(url) {
        init {
          if (bytesRemaining == 0L) {
            responseBodyComplete(trailers = Headers.EMPTY)
          }
        }
    
        override fun read(
          sink: Buffer,
          byteCount: Long,
        ): Long {
          require(byteCount >= 0L) { "byteCount < 0: $byteCount" }
          check(!closed) { "closed" }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsPathMapping.java

        public void setCreatedBy(String value) {
            registerModifiedProperty("createdBy");
            this.createdBy = value;
        }
    
        public Long getCreatedTime() {
            checkSpecifiedProperty("createdTime");
            return createdTime;
        }
    
        public void setCreatedTime(Long value) {
            registerModifiedProperty("createdTime");
            this.createdTime = value;
        }
    
        public String getProcessType() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top