Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1381 - 1390 of 1,947 for result2 (0.06 seconds)

  1. fastapi/.agents/skills/fastapi/references/dependencies.md

    Use dependencies when:
    
    * They can't be declared in Pydantic validation and require additional logic
    * The logic depends on external resources or could block in any other way
    * Other dependencies need their results (it's a sub-dependency)
    * The logic can be shared by multiple endpoints to do things like error early, authentication, etc.
    * They need to handle cleanup (e.g., DB sessions, file handles), using dependencies with `yield`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. .github/ISSUE_TEMPLATE/00-bug.yml

      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
          description: Command invocations and their associated output, functions with their arguments and return results, full stacktraces for panics (upload a file if it is very long), etc. Prefer copying text output over using screenshots.
        validations:
          required: true
    
      - type: textarea
        id: expected-behavior
        attributes:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            when(baseLeaseManager.requestLease(directoryPath, requestedState)).thenReturn(expectedKey);
    
            Smb2LeaseKey result = directoryLeaseManager.requestDirectoryLease(directoryPath, requestedState, scope);
    
            assertEquals(expectedKey, result);
            verify(baseLeaseManager).requestLease(directoryPath, requestedState);
    
            // Verify cache entry was created
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsPagingResultBean.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.allcommon;
    
    import org.apache.lucene.search.TotalHits;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.search.aggregations.Aggregations;
    
    /**
     * @param <ENTITY> The type of entity.
     * @author ESFlute (using FreeGen)
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

                }
            }
        }
    
        private
        fun checkIndirectOutputContains(objectExpr: Expression, call: MethodCallExpression) {
            if (objectExpr is VariableExpression
                && objectExpr.name == "result"
            ) {
                val arg = AstUtil.getNodeText(call.arguments, sourceCode)
                addViolation(call, "Should use outputContains($arg) or failure.assertHasCause($arg) instead")
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java

         * <p>
         * Given:
         * <pre>
         * parent: X -&gt; A -&gt; B -&gt; D -&gt; E
         * child: Y -&gt; A -&gt; C -&gt; D -&gt; F
         * </pre>
         * Result:
         * <pre>
         * X -&gt; Y -&gt; A -&gt; B -&gt; C -&gt; D -&gt; E -&gt; F
         * </pre>
         */
        public static void mergePluginLists(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        ImmutableSortedMap<K, V> result = descendingMap;
        if (result == null) {
          if (isEmpty()) {
            return emptyMap(Ordering.from(comparator()).reverse());
          } else {
            return new ImmutableSortedMap<>(
                (RegularImmutableSortedSet<K>) keySet.descendingSet(), valueList.reverse(), this);
          }
        }
        return result;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            when(ctx.getConfig()).thenReturn(cfg);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
            // Act
            Configuration result = trace.getConfig();
    
            // Assert
            assertSame(cfg, result);
            verify(ctx, times(1)).getConfig();
        }
    
        @Test
        @DisplayName("hasCapability(): without session/tree throws SmbException")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  9. internal/pubsub/pubsub_test.go

    	ch3 := make(chan Maskable, 1)
    	doneCh := make(chan struct{})
    	defer close(doneCh)
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1), ch1, doneCh, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// Mask matches maskString, should get result
    	if err := ps.Subscribe(Mask(1|2), ch2, doneCh, func(entry Maskable) bool { return true }); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * @since 11.0
       */
      @Override
      public ImmutableListMultimap<V, K> inverse() {
        ImmutableListMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    
      private ImmutableListMultimap<V, K> invert() {
        Builder<V, K> builder = builder();
        for (Entry<K, V> entry : entries()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
Back to Top