Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 4,230 for new1 (0.02 sec)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            super.setUp();
            indexUpdateCallback = new FileListIndexUpdateCallbackImpl(null, null, 1);
        }
    
        /** Case 1: Normal merge (no duplicates) */
        public void test_mergeResponseData_noOverwrite() {
            Map<String, Object> dataMap = new HashMap<>();
            dataMap.put("a", "A0");
            Map<String, Object> responseDataMap = new HashMap<>();
            responseDataMap.put("b", "B1");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 23:31:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/LineIterator.java

            return () -> new LineIterator(reader);
        }
    
        /**
         * Constructs an instance.
         *
         * @param reader
         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         */
        public LineIterator(final Reader reader) {
            assertArgumentNotNull("reader", reader);
            this.reader = new BufferedReader(reader);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TestLocking.java

        String url = null;
        int numComplete = 0;
        long ltime = 0L;
    
        @Override
        public void run() {
            try {
                final SmbFile f = new SmbFile(url);
                final SmbFile d = new SmbFile(f.getParent());
                final byte[] buf = new byte[1024];
    
                for (int ii = 0; ii < numIter; ii++) {
    
                    synchronized (this) {
                        ltime = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            SmbFileHandleImpl hA = id1 != null ? new SmbFileHandleImpl(cfg, id1, tA, "//eq/a", 0, 0, 0, 0, 0L)
                    : new SmbFileHandleImpl(cfg, 33, tA, "//eq/a", 0, 0, 0, 0, 0L);
    
            SmbFileHandleImpl hB = id2 != null ? new SmbFileHandleImpl(cfg, id2, tB, "//eq/b", 0, 0, 0, 0, 0L)
                    : new SmbFileHandleImpl(cfg, 33, tB, "//eq/b", 0, 0, 0, 0, 0L);
    
            if (expectEqual) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

    public class ActivityHelperTest extends UnitFessTestCase {
    
        private ActivityHelper activityHelper;
    
        private ThreadLocal<String> localLogMsg = new ThreadLocal<>();
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            activityHelper = new ActivityHelper() {
                @Override
                protected void printByLtsv(final Map<String, String> valueMap) {
                    valueMap.remove("time");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        testSortDescending(new long[] {}, 0, 0, new long[] {});
        testSortDescending(new long[] {1}, 0, 1, new long[] {1});
        testSortDescending(new long[] {1, 2}, 0, 2, new long[] {2, 1});
        testSortDescending(new long[] {1, 3, 1}, 0, 2, new long[] {3, 1, 1});
        testSortDescending(new long[] {1, 3, 1}, 0, 1, new long[] {1, 3, 1});
        testSortDescending(
            new long[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractService.java

            switch (previous) {
              case NEW:
                snapshot = new StateSnapshot(TERMINATED);
                enqueueTerminatedEvent(NEW);
                break;
              case STARTING:
                snapshot = new StateSnapshot(STARTING, true, null);
                enqueueStoppingEvent(STARTING);
                doCancelStart();
                break;
              case RUNNING:
                snapshot = new StateSnapshot(STOPPING);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PythonJob.java

        /**
         * Default constructor for PythonJob.
         * Creates a new instance of the Python job with default settings.
         */
        public PythonJob() {
            super();
        }
    
        /** The Python script filename to execute */
        protected String filename;
    
        /** List of command-line arguments to pass to the Python script */
        protected List<String> argList = new ArrayList<>();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top