Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2241 - 2250 of 2,345 for add (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          for (i in 0 until cookieStrings.size) {
            val cookie = parse(url, cookieStrings[i]) ?: continue
            if (cookies == null) cookies = mutableListOf()
            cookies.add(cookie)
          }
    
          return if (cookies != null) {
            Collections.unmodifiableList(cookies)
          } else {
            emptyList()
          }
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

          Assert.assertEquals(hashcode1, hashcode2); // idempotent
          Assert.assertEquals(hashFunction.bits(), hashcode1.bits());
          Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8);
          hashcodes.add(hashcode1);
        }
        Assert.assertTrue(hashcodes.size() > objects * 0.95); // quite relaxed test
    
        assertHashBytesThrowsCorrectExceptions(hashFunction);
        assertIndependentHashers(hashFunction);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

            List<Range<K>> toRemove = Lists.newArrayList();
            for (Entry<Range<K>, V> entry : entrySet()) {
              if (predicate.apply(entry)) {
                toRemove.add(entry.getKey());
              }
            }
            for (Range<K> range : toRemove) {
              TreeRangeMap.this.remove(range);
            }
            return !toRemove.isEmpty();
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. cmd/format-erasure.go

    func closeStorageDisks(storageDisks ...StorageAPI) {
    	var wg sync.WaitGroup
    	for _, disk := range storageDisks {
    		if disk == nil {
    			continue
    		}
    		wg.Add(1)
    		go func(disk StorageAPI) {
    			defer wg.Done()
    			disk.Close()
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // Initialize storage disks for each endpoint.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/sql-databases.md

    ```
    
    /// tip
    
    通过创建仅专用于与数据库交互(获取用户或项目)的函数,独立于*路径操作函数*,您可以更轻松地在多个部分中重用它们,并为它们添加单元测试。
    
    ///
    
    ### 创建数据
    
    现在创建工具函数来创建数据。
    
    它的步骤是:
    
    * 使用您的数据创建一个 SQLAlchemy 模型*实例。*
    * 使用`add`来将该实例对象添加到数据库会话。
    * 使用`commit`来将更改提交到数据库(以便保存它们)。
    * 使用`refresh`来刷新您的实例对象(以便它包含来自数据库的任何新数据,例如生成的 ID)。
    
    ```Python hl_lines="18-24  31-36"
    {!../../docs_src/sql_databases/sql_app/crud.py!}
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.25.md

    - Add a new `align-by-socket` policy option to cpu manager `static` policy. When enabled CPU's to be aligned at socket boundary rather than NUMA boundary. ([#111278](https://github.com/kubernetes/kubernetes/pull/111278), [@arpitsardhana](https://github.com/arpitsardhana)) [SIG Node]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsBadWordCQ.java

            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    BadWordCQ cf = new BadWordCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
            final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery(), list);
            if (opLambda != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  8. docs/em/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    COPY ./app /code/app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    
    # If running behind a proxy like Nginx or Traefik add --proxy-headers
    # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--proxy-headers"]
    ```
    
    </details>
    
    ## ⚫️❔ 📦
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsCrawlingInfoParamCQ.java

                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    CrawlingInfoParamCQ cf = new CrawlingInfoParamCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
            final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery(), list);
            if (opLambda != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 36K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          }
    
          ImmutableSet.Builder<Object> valuesBuilder = valuesBuilder(valueComparator);
          for (int j = 0; j < valueCount; j++) {
            valuesBuilder.add(requireNonNull(stream.readObject()));
          }
          ImmutableSet<Object> valueSet = valuesBuilder.build();
          if (valueSet.size() != valueCount) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top