Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,036 for wong (0.49 sec)

  1. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test close(long) successfully.
         *
         * @throws CIFSException
         */
        @Test
        void testCloseWithLastWriteTime_success() throws CIFSException {
            long lastWriteTime = System.currentTimeMillis();
            smbFileHandle.close(lastWriteTime);
            verify(smbFileHandle, times(1)).close(lastWriteTime);
        }
    
        /**
         * Test close(long) when a CIFSException is thrown.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

        ArrayList<Future<Long>> futures = new ArrayList<>();
        for (int i = 0; i < nTasks; i++) {
          futures.add(
              threadPool.submit(
                  new Callable<Long>() {
                    @Override
                    public Long call() {
                      long threadSum = 0;
                      for (int j = 0; j < getsPerTask; j++) {
                        long delta = random.nextInt(deltaRange);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchResultList.java

         */
        public OpenSearchResultList() {
            super();
        }
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Total number of hits.
         */
        private long totalHits;
    
        /**
         * Time taken for the search in milliseconds.
         */
        private long tookInMillis;
    
        /**
         * Sets the total number of hits.
         * @param totalHits The total number of hits.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         */
        @Override
        public Long getCreateTime() {
            return createTime;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setCreateTime(java.sql.Long)
         */
        @Override
        public void setCreateTime(final Long createTime) {
            this.createTime = createTime;
        }
    
        /*
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

         * @param remoteKey remote memory key
         * @param length number of bytes to read
         * @throws IOException if read fails
         */
        public abstract void rdmaRead(RdmaMemoryRegion localRegion, long remoteAddress, int remoteKey, int length) throws IOException;
    
        /**
         * Perform RDMA write operation
         *
         * @param localRegion local memory region to write from
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

                return 0;
            }
    
            @Override
            public long createTime() {
                return 0;
            }
    
            @Override
            public long lastModified() {
                return 0;
            }
    
            @Override
            public long lastAccess() {
                return 0;
            }
    
            @Override
            public long length() {
                return 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.markClosed(id1);
    
            Map<String, Object> stats = resourceManager.getStatistics();
    
            assertNotNull(stats);
            assertTrue((long) stats.get("totalAllocated") >= 2);
            assertTrue((long) stats.get("totalReleased") >= 1);
            assertNotNull(stats.get("activeResources"));
            assertNotNull(stats.get("closedResources"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/IntsTest.java

            .isNull();
        assertWithMessage("Max long").that(Ints.tryParse(Long.toString(Long.MAX_VALUE))).isNull();
        assertWithMessage("Min long").that(Ints.tryParse(Long.toString(Long.MIN_VALUE))).isNull();
        assertThat(Ints.tryParse("\u0662\u06f3")).isNull();
      }
    
      /**
       * Applies {@link Ints#tryParse(String)} to the given string and asserts that the result is as
       * expected.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

         * @param lastAccessTime the last access time
         */
        public Trans2SetFileInformation(final Configuration config, final int fid, final int attributes, final long createTime,
                final long lastWriteTime, final long lastAccessTime) {
            this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80));
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

        private int fid, remaining, dataLength, dataOffset, off;
        private byte[] b;
        private long offset;
    
        private int pad;
    
        int writeMode;
    
        SmbComWriteAndX() {
            super(null);
            command = SMB_COM_WRITE_ANDX;
        }
    
        SmbComWriteAndX(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len,
                final ServerMessageBlock andx) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top