Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,562 for new1 (0.85 sec)

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        @Test
        @DisplayName("readn should handle EOF correctly")
        void testReadnEOF() throws IOException {
            byte[] buffer = new byte[10];
            ByteArrayInputStream bais = new ByteArrayInputStream(new byte[0]);
    
            int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("readn should handle multiple read calls")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            ASN1EncodableVector authVector = new ASN1EncodableVector();
            ASN1EncodableVector elementVector = new ASN1EncodableVector();
            elementVector.add(new DERTaggedObject(0, new ASN1Integer(1))); // authType
            elementVector.add(new DERTaggedObject(1, new DEROctetString(new byte[] { 0x01, 0x02 }))); // authData
            authVector.add(new DERSequence(elementVector));
    
            byte[] token = new DERSequence(authVector).getEncoded();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            });
    
            ComponentUtil.register(new KeyMatchHelper() {
                @Override
                public void update() {
                    // Mock update
                }
            }, "keyMatchHelper");
    
            crawlJob.webConfigIds(new String[] { "web1", "web2" });
            crawlJob.fileConfigIds(new String[] { "file1" });
            crawlJob.dataConfigIds(new String[] { "data1", "data2", "data3" });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        void multipleWriteBodyWireFormat_shouldProduceSameResult() {
            // Arrange
            Name realName = new Name(mockConfig, "SERVER", 0x20, "domain.local");
            nodeStatusRequest = new NodeStatusRequest(mockConfig, realName);
            byte[] dst1 = new byte[100];
            byte[] dst2 = new byte[100];
    
            // Act
            int result1 = nodeStatusRequest.writeBodyWireFormat(dst1, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
            StopwordsItem item4 = new StopwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
            assertEquals(item1.hashCode(), item2.hashCode());
            assertEquals(item1.hashCode(), item3.hashCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            queryCommand = new WildcardQueryCommand();
            queryCommand.register();
        }
    
        public void test_convertWildcardQuery_defaultField() throws Exception {
            // Test with default field
            QueryContext queryContext = new QueryContext("test*", false);
            WildcardQuery wildcardQuery = new WildcardQuery(new Term(Constants.DEFAULT_FIELD, "test*"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IterablesTest.java

      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
        Iterable<TypeB> blist = filter(alist, TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100)));
            assertEquals(new BigDecimal("1000"), BigDecimalConversionUtil.toBigDecimal(Long.valueOf(1000L)));
    
            assertEquals(0, new BigDecimal("0.1").compareTo(BigDecimalConversionUtil.toBigDecimal(Float.valueOf(0.1F))));
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K 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/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)
Back to top