Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1321 - 1330 of 1,709 for result2 (0.11 seconds)

  1. tests/transaction_test.go

    	ctx, cancelFunc := context.WithCancel(ctx)
    	cancelFunc()
    
    	user := *GetUser("cancel_transaction", Config{})
    	DB.Create(&user)
    
    	err := DB.WithContext(ctx).Transaction(func(tx *gorm.DB) error {
    		var result User
    		tx.First(&result, user.ID)
    		return nil
    	})
    
    	if err == nil {
    		t.Fatalf("Transaction should get error when using cancelled context")
    	}
    }
    
    func TestTransactionWithBlock(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                when(mockBinding.toString()).thenReturn("mockBindingString");
    
                // When: Getting string representation
                String result = handle.toString();
    
                // Then: Should return binding's string representation
                assertEquals("mockBindingString", result);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCaseTests {
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. internal/s3select/sql/utils.go

    		for i, pe := range e.PathExpr {
    			parts[i+1] = pe.String()
    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    // StripTableAlias removes a table alias from the path. The result is also
    // cached for repeated lookups during SQL query evaluation.
    func (e *JSONPath) StripTableAlias(tableAlias string) []*JSONPathElement {
    	if e.strippedTableAlias == tableAlias {
    		return e.strippedPathExpr
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_SEARCH = "{labels.search}";
    
        /** The key of the message: Showing similar results. */
        public static final String LABELS_similar_doc_result_status = "{labels.similar_doc_result_status}";
    
        /** The key of the message: Results <b>{2}</b> - <b>{3}</b> of <b>{1}</b> for <b>{0}</b> */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 156.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

         * - Purges job logs older than configured days
         * - Purges user info logs older than configured days
         * - Updates job log status
         *
         * @return a string containing the execution result and any error messages
         */
        public String execute() {
            final CrawlingInfoService crawlingInfoService = ComponentUtil.getComponent(CrawlingInfoService.class);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/entity/FacetInfo.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.search.aggregations.BucketOrder;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * Entity class representing facet configuration information for search results.
     * This class holds configuration settings for faceted search including field facets,
     * query facets, and various parameters that control facet behavior.
     */
    public class FacetInfo {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

      @Param boolean noWorkToDo;
    
      Random random;
      String testString;
    
      @BeforeExperiment
      void setUp() {
        random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs
    
        int nonAlpha = size / nonAlphaRatio;
        int alpha = size - nonAlpha;
    
        List<Character> chars = Lists.newArrayListWithCapacity(size);
        for (int i = 0; i < alpha; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/graph/PredecessorsFunction.java

       * {@code node}'s incoming edges <i>against</i> the direction (if any) of the edge.
       *
       * <p>Some algorithms that operate on a {@code PredecessorsFunction} may produce undesired results
       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
       * algorithms should document their behavior in the presence of duplicates.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        int result =
            (configuredExpectedSize == Builder.UNSET_EXPECTED_SIZE)
                ? DEFAULT_CAPACITY
                : configuredExpectedSize;
    
        // Enlarge to contain initial contents
        if (initialContents instanceof Collection) {
          int initialSize = ((Collection<?>) initialContents).size();
          result = max(result, initialSize);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  10. docs/ko/docs/async.md

    ## 바쁘신 경우
    
    <strong>요약</strong>
    
    다음과 같이 `await`를 사용해 호출하는 제3의 라이브러리를 사용하는 경우:
    
    ```Python
    results = await some_library()
    ```
    
    다음처럼 *경로 작동 함수*를 `async def`를 사용해 선언하십시오:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | 참고
    
    `async def`로 생성된 함수 내부에서만 `await`를 사용할 수 있습니다.
    
    ///
    
    ---
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top