Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for depends (0.05 seconds)

  1. fastapi/param_functions.py

        from typing import Annotated
    
        from fastapi import Depends, FastAPI
    
        app = FastAPI()
    
    
        async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  2. tensorflow/BUILD

    )
    
    # To avoid duplication, check that the C++ or python library does not depend on
    # the stream executor cuda plugins. Targets that want to use cuda APIs should
    # instead depend on the dummy plugins in //tensorflow/compiler/xla/tsl/platform/default/build_config
    # and use header only targets.
    # TODO(ddunleavy): This seems completely broken. :tensorflow_cc depends on
    # cuda_platform from tf_additional_binary_deps and this doesn't break.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
  3. cmd/batch-handlers.go

    		workerKillCh: make(chan struct{}, workers),
    		jobCancelers: make(map[string]context.CancelFunc),
    	}
    	jpool.ResizeWorkers(workers)
    
    	randomWait := func() time.Duration {
    		// randomWait depends on the number of nodes to avoid triggering resume and cleanups at the same time.
    		return time.Duration(rand.Float64() * float64(time.Duration(globalEndpoints.NEndpoints())*time.Hour))
    	}
    
    	go func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        cache.refresh(2);
        checkLoggedCause(e);
    
        assertThat(cache.getUnchecked(2)).isEqualTo("2");
        assertThat(removalListener.getCount()).isEqualTo(0);
      }
    
    
      @AndroidIncompatible // Depends on GC behavior
      public void testReloadAfterValueReclamation() throws InterruptedException, ExecutionException {
        CountingLoader countingLoader = new CountingLoader();
        LoadingCache<Object, Object> cache =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  5. tensorflow/c/c_api.h

    // TF_SessionRun will no longer extend the session on every call.
    //
    // We expose this here to allow fine-grained synchronization in multi-threaded
    // workloads, which is required since the Python implementation depends on the
    // above mutation methods. This allows us to prevent modifications to nodes in
    // the graph after the session has been made aware of them.
    TF_CAPI_EXPORT extern void TF_ExtendSession(TF_Session* session,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        cache.refresh(2);
        checkLoggedCause(e);
    
        assertThat(cache.getUnchecked(2)).isEqualTo("2");
        assertThat(removalListener.getCount()).isEqualTo(0);
      }
    
    
      @AndroidIncompatible // Depends on GC behavior
      public void testReloadAfterValueReclamation() throws InterruptedException, ExecutionException {
        CountingLoader countingLoader = new CountingLoader();
        LoadingCache<Object, Object> cache =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                deletionFailed = true;
                log.info("Non-empty directory deletion properly failed as expected: {}", e.getMessage());
            }
    
            // Directory behavior depends on whether deletion failed or succeeded
            CIFSContext checkContext = createFreshContext();
            SmbFile checkDir = new SmbFile(baseUrl + "shared/nonemptydir_" + timestamp + "/", checkContext);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  8. tests/migrate_test.go

    				t.Fatalf("failed to migrate table, got error: %v", err)
    			}
    			test.checkFunc(t)
    		})
    	}
    
    	if DB.Dialector.Name() != "sqlserver" {
    		// In SQLServer, If an index or constraint depends on the column,
    		// this column will not be able to run ALTER
    		// see https://stackoverflow.com/questions/19460912/the-object-df-is-dependent-on-column-changing-int-to-double/19461205#19461205
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                                "Skipping step {} because one or more predecessors did not execute successfully", step);
                    }
                    // Recursively call executePlan to process steps that depend on this one
                    executePlan();
                }
            }
    
            private void executePlan() {
                // Even if the build is halted, we still want to execute TEARDOWN and after:* steps
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.other", "file://"));
                }
                break;
            }
            return url;
        }
    
        /**
         * Appends query parameters to URLs based on document type.
         * Adds search highlighting for HTML and PDF documents.
         *
         * @param document the document data map
         * @param url the base URL
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
Back to Top