Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1671 - 1680 of 4,820 for if (0.01 sec)

  1. src/archive/zip/register.go

    	fw, ok := flateWriterPool.Get().(*flate.Writer)
    	if ok {
    		fw.Reset(w)
    	} else {
    		fw, _ = flate.NewWriter(w, 5)
    	}
    	return &pooledFlateWriter{fw: fw}
    }
    
    type pooledFlateWriter struct {
    	mu sync.Mutex // guards Close and Write
    	fw *flate.Writer
    }
    
    func (w *pooledFlateWriter) Write(p []byte) (n int, err error) {
    	w.mu.Lock()
    	defer w.mu.Unlock()
    	if w.fw == nil {
    		return 0, errors.New("Write after Close")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                return;
            }
    
            ArtifactRepository localRepo = request.getLocalRepository();
    
            File localFile = new File(localRepo.getBasedir(), localRepo.pathOf(artifact));
    
            artifact.setFile(localFile);
    
            if (!localFile.exists()) {
                if (request.getRemoteRepositories().isEmpty()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CollectCollectors.java

        private @Nullable EnumSet<E> set;
    
        void add(E e) {
          if (set == null) {
            set = EnumSet.of(e);
          } else {
            set.add(e);
          }
        }
    
        EnumSetAccumulator<E> combine(EnumSetAccumulator<E> other) {
          if (this.set == null) {
            return other;
          } else if (other.set == null) {
            return this;
          } else {
            this.set.addAll(other.set);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CollectCollectors.java

        private @Nullable EnumSet<E> set;
    
        void add(E e) {
          if (set == null) {
            set = EnumSet.of(e);
          } else {
            set.add(e);
          }
        }
    
        EnumSetAccumulator<E> combine(EnumSetAccumulator<E> other) {
          if (this.set == null) {
            return other;
          } else if (other.set == null) {
            return this;
          } else {
            this.set.addAll(other.set);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsRoleCB.java

            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
                _conditionQuery.getFieldSortBuilderList().forEach(sort -> {
                    builder.addSort(sort);
                });
            }
    
            if (_conditionAggregation != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            public void addRule(Rule rule) {
                if (rule != null) {
                    rules.add(rule);
                }
            }
    
            @Override
            public void addRule(int index, Rule rule) {
                if (rule != null) {
                    if (index < 0 || index > rules.size()) {
                        throw new IndexOutOfBoundsException("Index: " + index + ", Size: " + rules.size());
                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    could **call** that same function in **other places** without FastAPI, and it would **work as expected**. If there's a **required** parameter (without a default value), your **editor** will let you know with an error, **Python** will also complain if you run it without passing the required parameter.
    
    When you don't use `Annotated` and instead use the **(old) default value style**, if you call that function without FastAPI in **other places**, you have to **remember** to pass the arguments...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Hashing.java

       *     minimumBits} or greater
       */
      public static HashFunction goodFastHash(int minimumBits) {
        int bits = checkPositiveAndMakeMultipleOf32(minimumBits);
    
        if (bits == 32) {
          return Murmur3_32HashFunction.GOOD_FAST_HASH_32;
        }
        if (bits <= 128) {
          return Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        }
    
        // Otherwise, join together some 128-bit murmur3s
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/tflite-op-request.md

    - TensorFlow installed from (source or binary):
    - TensorFlow version (or github SHA if from source):
    
    
    **Provide the text output from tflite_convert**
    
    ```
    # Copy and paste here
    ```
    
    **Standalone code to reproduce the issue** 
    Provide a reproducible test case that is the bare minimum necessary to generate
    the problem. If possible, please share a link to Colab/Jupyter/any notebook.
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 879 bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * {@return the list of patterns for the files to include}.
         * The path separator is {@code /} on all platforms, including Windows.
         * The prefix before the {@code :} character, if present and longer than 1 character, is the syntax.
         * If no syntax is specified, or if its length is 1 character (interpreted as a Windows drive),
         * the default is a Maven-specific variation of the {@code "glob"} pattern.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top