Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for if (0.15 sec)

  1. cmd/metrics-v2.go

    				}
    			}
    			if g.metricsGroupOpts.dependGlobalIAMSys {
    				if globalIAMSys == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalLockServer {
    				if globalLockServer == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalIsDistErasure {
    				if !globalIsDistErasure {
    					return []MetricV2{}, nil
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  2. fastapi/applications.py

        def setup(self) -> None:
            if self.openapi_url:
                urls = (server_data.get("url") for server_data in self.servers)
                server_urls = {url for url in urls if url}
    
                async def openapi(req: Request) -> JSONResponse:
                    root_path = req.scope.get("root_path", "").rstrip("/")
                    if root_path not in server_urls:
                        if root_path and self.root_path_in_servers:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  3. fastapi/routing.py

                    current_tags = []
                    if tags:
                        current_tags.extend(tags)
                    if route.tags:
                        current_tags.extend(route.tags)
                    current_dependencies: List[params.Depends] = []
                    if dependencies:
                        current_dependencies.extend(dependencies)
                    if route.dependencies:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        public String toString() {
          if (areEqual()) {
            return "equal";
          }
    
          StringBuilder result = new StringBuilder("not equal");
          if (!onlyOnLeft.isEmpty()) {
            result.append(": only on left=").append(onlyOnLeft);
          }
          if (!onlyOnRight.isEmpty()) {
            result.append(": only on right=").append(onlyOnRight);
          }
          if (!differences.isEmpty()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    </li>
    </ol>
    
    <h3 id="If_statements">If statements</h3>
    
    <p>
    "If" statements specify the conditional execution of two branches
    according to the value of a boolean expression.  If the expression
    evaluates to true, the "if" branch is executed, otherwise, if
    present, the "else" branch is executed.
    </p>
    
    <pre class="ebnf">
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

            <field xdoc.separator="blank">
              <name>parent</name>
              <version>4.0.0+</version>
              <description>The location of the parent project, if one exists. Values from the parent
                project will be the default for this project if they are left unspecified. The location
                is given as a group ID, artifact ID and version.</description>
              <association>
                <type>Parent</type>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  7. cmd/server_test.go

    // The responses for fetching the object when If-Modified-Since
    // and If-Unmodified-Since headers set are validated.
    // If-Modified-Since - Return the object only if it has been modified since the specified time, else return a 304 (not modified).
    // If-Unmodified-Since - Return the object only if it has not been modified since the specified time, else return a 412 (precondition failed).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

            MockResponse.Builder()
              .addHeader("ETag: v1")
              .build(),
          )
        assertThat(conditionalRequest.headers["If-None-Match"]).isEqualTo("v1")
      }
    
      /** If both If-Modified-Since and If-None-Match conditions apply, send only If-None-Match.  */
      @Test
      fun etagAndExpirationDateInThePast() {
        val lastModifiedDate = formatDate(-2, TimeUnit.HOURS)
        val conditionalRequest =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne);
          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
          if (map.usesAccessQueue()) {
            LocalCache.connectAccessOrder(entryOne, entryTwo);
          }
          if (map.usesWriteQueue()) {
            LocalCache.connectWriteOrder(entryOne, entryTwo);
          }
          assertConnected(map, entryOne, entryTwo);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne);
          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
          if (map.usesAccessQueue()) {
            LocalCache.connectAccessOrder(entryOne, entryTwo);
          }
          if (map.usesWriteQueue()) {
            LocalCache.connectWriteOrder(entryOne, entryTwo);
          }
          assertConnected(map, entryOne, entryTwo);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
Back to top