Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 6,187 for New (0.43 seconds)

  1. 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)
  2. CHANGELOG.md

     *  New: `mockwebserver3.SocketPolicy` is now a sealed interface. This is one of several
        backwards-incompatible API changes that may impact early adopters of this alpha API.
    
     *  New: `mockwebserver3.Stream` for duplex streams.
    
     *  New: `mockwebserver3.MockResponseBody` for streamed response bodies.
    
     *  New: `mockwebserver3.MockResponse` is now immutable, with a `Builder`.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  3. android/guava/src/com/google/common/base/Verify.java

     * usual form:
     *
     * {@snippet :
     * Bill bill = remoteService.getLastUnpaidBill();
     * if (bill.status() != Status.UNPAID) {
     *   throw new VerifyException("Unexpected bill status: " + bill.status());
     * }
     * }
     *
     * <h3>Only {@code %s} is supported</h3>
     *
     * <p>As with {@link Preconditions}, {@code Verify} uses {@link Strings#lenientFormat} to format
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        void testMultipleWireFormatOperations() {
            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
            byte[] dst1 = new byte[10];
            byte[] dst2 = new byte[10];
    
            // Act
            int result1 = transWaitNamedPipe.writeSetupWireFormat(dst1, 0);
            int result2 = transWaitNamedPipe.writeSetupWireFormat(dst2, 0);
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                        Smb2QueryDirectoryResponse qr =
                                new Smb2QueryDirectoryResponse(config, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
                        setResults(qr, new FileEntry[] { fe3 });
                        return qr;
                    } else {
                        // Third query: no more files
                        throw new SmbException(NtStatus.NT_STATUS_NO_MORE_FILES, false);
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            FessCrawlerThread crawlerThread = new FessCrawlerThread();
            assertNotNull(crawlerThread, "FessCrawlerThread should be instantiable");
        }
    
        /**
         * Test URL deduplication in getAnchorSet
         */
        @Test
        public void test_getAnchorSet_deduplication() {
            FessCrawlerThread crawlerThread = new FessCrawlerThread();
    
            List<String> urls = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Create StopwordsFile instance
            stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            stopwordsFile.manager(dictionaryManager);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/CharSinkTest.java

        TestCharSink failSink = new TestCharSink(WRITE_THROWS);
        assertThrows(IOException.class, () -> new TestCharSource(STRING).copyTo(failSink));
        assertTrue(failSink.wasStreamClosed());
      }
    
      public void testClosesOnErrors_whenWritingFromReaderThatThrows() {
        TestCharSink okSink = new TestCharSink();
        assertThrows(IOException.class, () -> okSink.writeFrom(new TestReader(READ_THROWS)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            @DisplayName("writeSetupWireFormat returns 0 for all indices")
            void writeSetupWireFormatReturnsZero(int index) {
                TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
                assertEquals(0, resp.writeSetupWireFormat(new byte[10], index), "writeSetupWireFormat should always return 0");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, -5, Integer.MAX_VALUE })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SecurityBlobTest.java

        static Stream<Arguments> hexCases() {
            return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"),
                    Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"),
                    Arguments.of(new byte[] { (byte) 0xAB }, "ab"),
                    Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top