Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 5,198 for new1 (0.11 seconds)

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

      @Override
      public void setUp() throws Exception {
        super.setUp();
        reference = new ValidTestObject(1, 2);
        equalsTester = new EqualsTester();
        equalObject1 = new ValidTestObject(1, 2);
        equalObject2 = new ValidTestObject(1, 2);
        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SIDTest.java

                SID a1 = new SID("S-1-5-21-1-2-3-4");
                SID a2 = new SID("S-1-5-21-1-2-3-4");
                SID b = new SID("S-1-5-21-1-2-3-5");
    
                assertEquals(a1, a2);
                assertEquals(a1.hashCode(), a2.hashCode());
                assertNotEquals(a1, b);
                assertNotEquals(a1.hashCode(), b.hashCode());
                assertNotEquals(a1, new Object());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final NullPointerException npeCause = new NullPointerException("Null query parameter");
            final IllegalStateException iseCause = new IllegalStateException("Invalid parser state");
            final OutOfMemoryError oomCause = new OutOfMemoryError("Query too large");
    
            // Execute
            final InvalidQueryException npeException = new InvalidQueryException(messageCode, message, npeCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA,
                    SmbConstants.DEFAULT_SHARING);
    
            byte[] data = new byte[10];
    
            // When & Then - test boundary conditions
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE);
        new RoundToDoubleTester(maxDoubleAsBigDecimal)
            .setExpectation(Double.MAX_VALUE, RoundingMode.values())
            .test();
      }
    
      public void testRoundToDouble_maxDoublePlusOne() {
        BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE).add(BigDecimal.ONE);
        new RoundToDoubleTester(maxDoubleAsBigDecimal)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsFailureUrlCA.java

            FailureUrlCQ cq = new FailureUrlCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                FailureUrlCA ca = new FailureUrlCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 46.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/SuggestJob.java

            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
                buf.append(cpSeparator);
                buf.append(targetClassesDir.getAbsolutePath());
            }
            // WEB-INF/lib
            appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        private final AtomicLong connectionsCreated = new AtomicLong();
        private final AtomicLong connectionsActive = new AtomicLong();
        private final AtomicLong memoryRegionsAllocated = new AtomicLong();
        private final AtomicLong memoryRegionsActive = new AtomicLong();
    
        // Timing statistics (in nanoseconds)
        private final AtomicLong totalReadTime = new AtomicLong();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Lists.java

          int initialArraySize) {
        checkNonnegative(initialArraySize, "initialArraySize"); // for GWT.
        return new ArrayList<>(initialArraySize);
      }
    
      /**
       * Creates an {@code ArrayList} instance to hold {@code estimatedSize} elements, <i>plus</i> an
       * unspecified amount of padding; **don't do this**. Instead, use {@code new }{@link
       * ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly and choose an explicit padding
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Sets.java

      public static <E extends @Nullable Object> HashSet<E> newHashSet(Iterator<? extends E> elements) {
        HashSet<E> set = new HashSet<>();
        Iterators.addAll(set, elements);
        return set;
      }
    
      /**
       * Returns a new hash set using the smallest initial table size that can hold {@code expectedSize}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
Back to Top