Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1701 - 1710 of 1,810 for cause (0.06 seconds)

  1. src/main/java/org/codelibs/fess/helper/QueryHelper.java

         */
        protected void buildVirtualHostQuery(final QueryContext queryContext, final SearchRequestType searchRequestType) {
            switch (searchRequestType) {
            case ADMIN_SEARCH:
                // nothing to do
                break;
            default:
                final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
                if (StringUtil.isNotBlank(key)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Verify.java

     * whenever there is a chance the check may fail "in real life". Example:
     *
     * {@snippet :
     * Bill bill = remoteService.getLastUnpaidBill();
     *
     * // In case bug 12345 happens again we'd rather just die
     * Verify.verify(bill.status() == Status.UNPAID,
     *     "Unexpected bill status: %s", bill.status());
     * }
     *
     * <h3>Comparison to alternatives</h3>
     *
    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)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

         *
         * @param element the element to add
         * @param occurrences the number of occurrences of the element to add. May be zero, in which
         *     case no change will be made.
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         * @throws IllegalArgumentException if {@code occurrences} is negative, or if this operation
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/ACETest.java

                assertTrue((noPropagation & ACE.FLAGS_NO_PROPAGATE) != 0, "Should include no propagate flag");
            }
        }
    
        @Nested
        @DisplayName("Interface Edge Case Handling")
        class InterfaceEdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null SID from interface methods")
            void shouldHandleNullSID() {
                ACE ace = mock(ACE.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                request.writeBytesWireFormat(buffer, 0);
    
                assertEquals(Smb2ReadRequest.SMB2_CHANNEL_NONE, SMBUtil.readInt4(buffer, 36));
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle negative offset")
            void testNegativeOffset() {
                request.setOffset(-1L);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Lists.java

        public int size() {
          return IntMath.saturatedAdd(rest.length, 2);
        }
    
        @Override
        @ParametricNullness
        public E get(int index) {
          switch (index) {
            case 0:
              return first;
            case 1:
              return second;
            default:
              // check explicitly so the IOOBE will have the right message
              checkElementIndex(index, size());
              return rest[index - 2];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        )
    
        taskFaker.advanceUntil(800.ms)
        assertEvents(
          "plan 3 TCP connect canceled",
        )
    
        taskFaker.assertNoMoreTasks()
      }
    
      /**
       * This test causes two connections to become available simultaneously, one from a TCP connect and
       * one from the pool. We must take the pooled connection because by taking it from the pool, we've
       * fully acquired it.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  8. internal/ringbuffer/ring_buffer_test.go

    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    		case <-cc:
    			return
    		case <-c:
    			buf := make([]byte, 1<<20)
    			stacklen := runtime.Stack(buf, true)
    			fmt.Printf("=== Timeout, assuming deadlock ===\n*** goroutine dump...\n%s\n*** end\n", string(buf[:stacklen]))
    			os.Exit(2)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            MockNode divNode = new MockNode("div");
            assertTrue(tag.matches(divNode));
    
            MockNode spanNode = new MockNode("span");
            assertFalse(tag.matches(spanNode));
    
            // Case insensitive test
            MockNode divUpperNode = new MockNode("DIV");
            assertTrue(tag.matches(divUpperNode));
        }
    
        @Test
        public void test_matches_withId() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertEquals(((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7 + 7) / 8) * 8, request.size());
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null data with non-zero length")
            void testNullDataNonZeroLength() {
                request.setData(null, 0, 100);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
Back to Top