Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1191 - 1200 of 2,189 for else_ (0.14 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                } else if (behavior == 1) { // return null
                  computeNullCount.incrementAndGet();
                  return null;
                } else if (behavior == 2) { // slight delay before returning
                  Thread.sleep(5);
                  computeCount.incrementAndGet();
                  return key;
                } else {
                  computeCount.incrementAndGet();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  2. cmd/erasure-metadata.go

    	// All the parts per object.
    	objInfo.Parts = fi.Parts
    
    	// Update storage class
    	if fi.TransitionTier != "" {
    		objInfo.StorageClass = fi.TransitionTier
    	} else if sc, ok := fi.Metadata[xhttp.AmzStorageClass]; ok {
    		objInfo.StorageClass = sc
    	} else {
    		objInfo.StorageClass = globalMinioDefaultStorageClass
    	}
    
    	// set restore status for transitioned object
    	restoreHdr, ok := fi.Metadata[xhttp.AmzRestore]
    	if ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

            if (this == obj) {
                return true;
            }
    
            if (obj instanceof ScopeArtifactFilter other) {
                return Objects.equals(scope, other.scope);
            } else {
                return false;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. .github/DISCUSSION_TEMPLATE/translations.yml

          options:
            - label: I checked that this language is not already being translated in FastAPI docs.
              required: true
            - label: I searched existing discussions to ensure no one else proposed this language.
              required: true
            - label: I am a native speaker of the language I want to help translate.
              required: true
      - type: input
        id: language
        attributes:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jul 26 11:35:42 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. tests/test_validate_response.py

    def get_invalid_none():
        return None
    
    
    @app.get("/items/validnone", response_model=Union[Item, None])
    def get_valid_none(send_none: bool = False):
        if send_none:
            return None
        else:
            return {"name": "invalid", "price": 3.2}
    
    
    @app.get("/items/innerinvalid", response_model=Item)
    def get_innerinvalid():
        return {"name": "double invalid", "price": "foo", "owner_ids": ["foo", "bar"]}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

            final StringBuilder buf = new StringBuilder(20);
            for (int i = 0; i < s.length(); ++i) {
                char c = s.charAt(i);
                if (c == groupingSep) {
                    continue;
                } else if (c == decimalSep) {
                    c = '.';
                }
                buf.append(c);
            }
            return buf.toString();
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java

        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            if (removeTrailing) {
                return new StopFilter(tokenStream, stopWords);
            } else {
                return new SuggestStopFilter(tokenStream, stopWords);
            }
        }
    
        public Set<?> stopWords() {
            return stopWords;
        }
    
        public boolean ignoreCase() {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

                if (node2.metadata == null) {
                    return metadata == null;
                }
    
                return metadata != null && metadata.toString().equals(node2.metadata.toString());
            } else {
                return super.equals(obj);
            }
        }
    
        @Override
        public int hashCode() {
            if (metadata == null) {
                return super.hashCode();
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  9. .github/workflows/arm-ci-extended-cpp.yml

            shell: bash
            run: |
              running_containers=$(docker ps -q) && \
              if [[ $running_containers == "" ]]; then
                echo "No running containers";
              else
                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
              docker image prune -af
          - name: Clean repository
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            if (infoLevel == FileInformation.FILE_BASIC_INFO) {
                assertTrue(response.getInfo() instanceof FileBasicInfo);
            } else if (infoLevel == FileInformation.FILE_STANDARD_INFO) {
                assertTrue(response.getInfo() instanceof FileStandardInfo);
            } else if (infoLevel == FileInformation.FILE_INTERNAL_INFO) {
                assertTrue(response.getInfo() instanceof FileInternalInfo);
            }
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top