Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1261 - 1270 of 1,709 for result2 (0.06 seconds)

  1. internal/ioutil/ioutil.go

    // the zero value and the context error is returned.
    func WithDeadline[V any](ctx context.Context, timeout time.Duration, work func(ctx context.Context) (result V, err error)) (result V, err error) {
    	ctx, cancel := context.WithTimeout(ctx, timeout)
    	defer cancel()
    
    	c := make(chan ioret[V], 1)
    	go func() {
    		v, err := work(ctx)
    		c <- ioret[V]{val: v, err: err}
    	}()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val data = ByteArray(1024 * 1024)
        var i = 0
        while (i < 1024) {
          try {
            out!!.write(data)
            out.flush()
            if (i == 513) {
              // pause slightly after half way to make result more predictable
              Thread.sleep(100)
            }
          } catch (e: IOException) {
            break
          }
          i++
        }
        // Halfway +/- 0.5%
        assertThat(i.toFloat()).isCloseTo(512f, 5f)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  3. cmd/update-notifier.go

    	msgLine1Fmt := " You are running an older version of MinIO released %s "
    	msgLine2Fmt := " Update: %s "
    
    	// Calculate length *without* color coding: with ANSI terminal
    	// color characters, the result is incorrect.
    	line1Length := len(fmt.Sprintf(msgLine1Fmt, newerThan))
    	line2Length := len(fmt.Sprintf(msgLine2Fmt, updateString))
    
    	// Populate lines with color coding.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

     *
     * <p>The extractor runs text extraction in a separate thread with a configurable timeout
     * to prevent hanging on problematic PDF files. It also extracts metadata from the PDF
     * document and includes it in the extraction result.
     *
     * <p>Features:
     * <ul>
     *   <li>Text extraction from PDF pages</li>
     *   <li>Embedded document extraction</li>
     *   <li>Annotation extraction (file attachments)</li>
     *   <li>Metadata extraction</li>
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                xpathEntityTransformer.setDataClass(TestEntity.class);
            }
        }
    
        public void test_storeData() throws Exception {
            final String result = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
                    + "<field name=\"title\"><list><item>タイトル</item></list></field>\n"//
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      @Override
      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
        Map<K, V> result = super.convertToHashFloodingResistantImplementation();
        links = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertFalse(it.hasNext());
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("Name filter throwing CIFSException results in skip, not failure")
        void nameFilterThrowsIsHandled() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            when(nameFilter.accept(parent, "bad")).thenThrow(new CIFSException("bad name"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

         * @return This builder instance.
         */
        public SuggestRequestBuilder setIndex(final String index) {
            request.setIndex(index);
            return this;
        }
    
        /**
         * Sets the size of results for the request.
         * @param size The size.
         * @return This builder instance.
         */
        public SuggestRequestBuilder setSize(final int size) {
            request.setSize(size);
            return this;
        }
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

        /**
         * Applies the upgrade strategy to all eligible POMs.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project (domtrip Documents)
         * @return the result of the upgrade operation
         */
        UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
         * Checks if this strategy is applicable given the current options.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/ElevateWord.java

    import org.codelibs.fess.opensearch.config.exbhv.ElevateWordToLabelBhv;
    import org.codelibs.fess.opensearch.config.exbhv.LabelTypeBhv;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.ListResultBean;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class ElevateWord extends BsElevateWord {
    
        private static final long serialVersionUID = 1L;
    
        private String[] labelTypeIds;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top