Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3611 - 3620 of 4,556 for true (0.14 seconds)

  1. internal/ioutil/ioutil.go

    // one write operation must happen to send the HTTP headers
    // to the peer.
    type WriteOnCloser struct {
    	io.Writer
    	hasWritten bool
    }
    
    func (w *WriteOnCloser) Write(p []byte) (int, error) {
    	w.hasWritten = true
    	return w.Writer.Write(p)
    }
    
    // Close closes the WriteOnCloser. It behaves like io.Closer.
    func (w *WriteOnCloser) Close() error {
    	if !w.hasWritten {
    		_, err := w.Write(nil)
    		if err != nil {
    			return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

                    try {
                        java.lang.reflect.Field propField = org.lastaflute.core.direction.ObjectiveConfig.class.getDeclaredField("prop");
                        propField.setAccessible(true);
                        propField.set(this, new org.dbflute.helper.jprop.ObjectiveProperties("test"));
                    } catch (Exception e) {
                        throw new RuntimeException("Failed to initialize prop field", e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/FacetResponse.java

                                queryFacet.getDocCount());
                    }
    
                });
            }
        }
    
        /**
         * Checks if this response contains any facet information.
         *
         * @return true if either query count map or field list is not null
         */
        public boolean hasFacetResponse() {
            return queryCountMap != null || fieldList != null;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/llm/LlmChatRequestTest.java

        }
    
        @Test
        public void test_setStream() {
            final LlmChatRequest request = new LlmChatRequest();
    
            final LlmChatRequest result = request.setStream(true);
    
            assertSame(request, result);
            assertTrue(request.isStream());
        }
    
        @Test
        public void test_fluentBuilding() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java

            final StringReader reader = new StringReader(csvContent);
    
            // Should not throw exception for empty CSV (only header)
            crawlingInfoService.importCsv(reader);
            assertTrue(true);
        }
    
        @Test
        public void test_crawlingInfoPager_pagination() {
            final CrawlingInfoPager pager = new CrawlingInfoPager();
    
            pager.setCurrentPageNumber(5);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier) {
        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/eventbus/Subscriber.java

      private final Executor executor;
    
      private Subscriber(EventBus bus, Object target, Method method) {
        this.bus = bus;
        this.target = checkNotNull(target);
        this.method = method;
        method.setAccessible(true);
    
        this.executor = bus.executor();
      }
    
      /** Dispatches {@code event} to this subscriber using the proper executor. */
      final void dispatchEvent(Object event) {
        executor.execute(
            () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier) {
        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            buffer[1] = 0x00;
            // numEntries (2 bytes)
            buffer[2] = 0x05;
            buffer[3] = 0x00;
            // isEndOfSearch (2 bytes, bit 0 of first byte)
            buffer[4] = 0x01; // end of search = true
            buffer[5] = 0x00;
            // eaErrorOffset (2 bytes)
            buffer[6] = 0x00;
            buffer[7] = 0x00;
            // lastNameOffset (2 bytes)
            buffer[8] = 0x10;
            buffer[9] = 0x00;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

        @Override
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            if (artifact.isSnapshot()) {
                Snapshot snapshot = new Snapshot();
                snapshot.setLocalCopy(true);
                RepositoryMetadata metadata = new SnapshotArtifactRepositoryMetadata(artifact, snapshot);
    
                artifact.addMetadata(metadata);
            }
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top