Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 857 for Upload (0.08 sec)

  1. docs/zh/docs/tutorial/index.md

    本教程同样可以作为将来的参考手册。
    
    你可以随时回到本教程并查阅你需要的内容。
    
    ## 运行代码
    
    所有代码片段都可以复制后直接使用(它们实际上是经过测试的 Python 文件)。
    
    要运行任何示例,请将代码复制到 `main.py` 文件中,然后使用以下命令启动 `uvicorn`:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    	defer locker.Unlock(lkctx)
    
    	// Load healing tracker in this disk
    	tracker, err := loadHealingTracker(ctx, disk)
    	if err != nil {
    		// A healing tracker may be deleted if another disk in the
    		// same erasure set with same healing-id successfully finished
    		// healing.
    		if errors.Is(err, errFileNotFound) {
    			return nil
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

      }
    
      // constructor tests
    
      public void testComputingFunction() {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object from) {
                return new Object();
              }
            };
        LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader);
        assertSame(loader, cache.localCache.defaultLoader);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

      }
    
      // constructor tests
    
      public void testComputingFunction() {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object from) {
                return new Object();
              }
            };
        LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader);
        assertSame(loader, cache.localCache.defaultLoader);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load the child project, which inherits from p0...
            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
    
            if (StringUtil.isNotBlank(options.propertiesPath)) {
                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("crawler_", ".properties");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. internal/event/targetlist.go

    	t := Stats{}
    	if list == nil {
    		return t
    	}
    	t.CurrentSendCalls = list.currentSendCalls.Load()
    	t.EventsSkipped = list.eventsSkipped.Load()
    	t.TotalEvents = list.totalEvents.Load()
    	t.CurrentQueuedCalls = int64(len(list.queue))
    	t.EventsErrorsTotal = list.eventsErrorsTotal.Load()
    
    	list.RLock()
    	defer list.RUnlock()
    	t.TargetStats = make(map[TargetID]TargetStat, len(list.targets))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                this.windowSize = 2 * maxPageSize;
            } else {
                this.windowSize = windowSize;
            }
            load();
        }
    
        public void update() {
            CommonPoolUtil.execute(this::load);
        }
    
        protected void load() {
            final String value = System.getProperty("rank.fusion.searchers");
            if (StringUtil.isBlank(value)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. internal/kms/kms.go

    	latency := make(map[time.Duration]uint64, len(k.latencyBuckets))
    	for i, b := range k.latencyBuckets {
    		latency[b] = k.latency[i].Load()
    	}
    
    	return &Metrics{
    		ReqOK:   k.reqOK.Load(),
    		ReqErr:  k.reqErr.Load(),
    		ReqFail: k.reqFail.Load(),
    		Latency: latency,
    	}, nil
    }
    
    // Status returns status information about the KMS.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_tutorial001.py

        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            mod = importlib.import_module(f"docs_src.sql_databases.{request.param}")
            clear_sqlmodel()
            importlib.reload(mod)
        mod.sqlite_url = "sqlite://"
        mod.engine = create_engine(
            mod.sqlite_url, connect_args={"check_same_thread": False}, poolclass=StaticPool
        )
    
        with TestClient(mod.app) as c:
            yield c
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top