Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,413 for results2 (0.05 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        List<Callable<String>> callables = ImmutableList.of(Callables.returning("x"));
        List<Future<String>> results;
    
        results = service.invokeAll(callables);
        assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
    
        results = service.invokeAll(callables, 1, SECONDS);
        assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
    
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    image.flush();
                    return Result.OK;
                } finally {
                    reader.dispose();
                }
            }
            return Result.FAILED;
        }
    
        /**
         * Enumeration representing the possible results of thumbnail image processing.
         */
        protected enum Result {
            /** Thumbnail was successfully generated */
            OK,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

    /**
     * SMB2 SRV_COPYCHUNK_COPY response data structure. This structure contains the result
     * of a server-side copy operation.
     *
     * @author mbechler
     *
     */
    public class SrvCopyChunkCopyResponse implements Decodable {
    
        /**
         * Constructs a new SrvCopyChunkCopyResponse.
         * This response contains the results of a server-side copy operation.
         */
        public SrvCopyChunkCopyResponse() {
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
          return result;
        }
    
        @Override
        public long distance(Long start, Long end) {
          long result = end - start;
          if (end > start && result < 0) { // overflow
            return Long.MAX_VALUE;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                });
                threads[i].start();
            }
    
            for (Thread thread : threads) {
                thread.join();
            }
    
            for (boolean result : results) {
                assertTrue(result);
            }
        }
    
        /**
         * Test implementation of ThumbnailGenerator interface
         */
        private static class TestThumbnailGenerator implements ThumbnailGenerator {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Default constructor results in empty strings for user and domain, null for password
            JAASAuthenticator auth = new JAASAuthenticator();
            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            auth.handle(new Callback[] { nc, pc });
    
            // With empty strings for username and domain, results in "@"
            assertEquals("@", nc.getName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. tests/serializer_test.go

    	// Verify the record was saved correctly
    	var result ProductWithAny
    	if err := DB.First(&result, product.ID).Error; err != nil {
    		t.Fatalf("failed to query product, got error %v", err)
    	}
    
    	if result.Name != "Product 1 (Updated)" {
    		t.Errorf("expected name to be 'Product 1 (Updated)', got %s", result.Name)
    	}
    
    	if result.Data != nil {
    		t.Errorf("expected Data to be nil, got %v", result.Data)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

     * This class provides functionality to load, cache, and retrieve related queries
     * based on search terms and virtual hosts. Related queries are used to suggest
     * alternative or supplementary search terms to improve search results.
     */
    public class RelatedQueryHelper extends AbstractConfigHelper {
        private static final Logger logger = LogManager.getLogger(RelatedQueryHelper.class);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. association.go

    }
    
    func expandValues(values ...any) (results []any) {
    	appendToResult := func(rv reflect.Value) {
    		// unwrap interface
    		if rv.IsValid() && rv.Kind() == reflect.Interface {
    			rv = rv.Elem()
    		}
    		if rv.IsValid() && rv.Kind() == reflect.Struct {
    			p := reflect.New(rv.Type())
    			p.Elem().Set(rv)
    			results = append(results, p.Interface())
    		} else if rv.IsValid() {
    			results = append(results, rv.Interface())
    		}
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Oct 26 12:09:12 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.java

    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.search.SearchHit;
    
    /**
     * Creates SuggestResponse instances from OpenSearch search results.
     *
     * <p>This class encapsulates the response creation logic extracted from SuggestRequest,
     * including duplicate word handling and first-word matching prioritization.</p>
     */
    public class SuggestResponseCreator {
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 5.5K bytes
    - Click Count (0)
Back to Top