Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2221 - 2230 of 3,913 for getT (0.03 sec)

  1. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        }
    
        @Override
        protected boolean doEquivalent(Object a, Object b) {
          return equivalentExpectations.get(a, b);
        }
    
        @Override
        protected int doHash(Object object) {
          return hashExpectations.get(object);
        }
    
        void checkRecording() {
          checkState(equivalentExpectations == null && hashExpectations == null);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTester.java

      }
    
      public void testReadFirstLine() throws IOException {
        if (expectedLines.isEmpty()) {
          assertNull(source.readFirstLine());
        } else {
          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        }
    
        @Override
        protected boolean doEquivalent(Object a, Object b) {
          return equivalentExpectations.get(a, b);
        }
    
        @Override
        protected int doHash(Object object) {
          return hashExpectations.get(object);
        }
    
        void checkRecording() {
          checkState(equivalentExpectations == null && hashExpectations == null);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                PluginInfo pluginInfo = extractPluginInfo(artifact);
                if (pluginInfo != null) {
                    String key = pluginInfo.groupId;
                    if (processedPlugins.get(key) == null) {
                        PluginsMetadata pluginMetadata = plugins.get(key);
                        if (pluginMetadata == null) {
                            pluginMetadata = new PluginsMetadata(pluginInfo, timestamp);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/response-status-code.md

    # 响应状态码
    
    与指定响应模型的方式相同,在以下任意*路径操作*中,可以使用 `status_code` 参数声明用于响应的 HTTP 状态码:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 等……
    
    ```Python hl_lines="6"
    {!../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    /// note | "笔记"
    
    注意,`status_code` 是(`get`、`post` 等)**装饰器**方法中的参数。与之前的参数和请求体不同,不是*路径操作函数*的参数。
    
    ///
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    /// info | "说明"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. .github/workflows/CheckBadMerge.groovy

            def stderrFuture = readStreamAsync(process.errorStream)
    
            int returnCode = process.waitFor()
            String stdout = stdoutFuture.get()
            String stderr = stderrFuture.get()
            return new ExecResult(stderr: stderr, stdout: stdout, returnCode: returnCode)
        }
    
        static String getStdout(String command) {
            ExecResult execResult = exec(command)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. docs_src/app_testing/app_b_an/main.py

        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: Union[str, None] = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: Annotated[str, Header()]):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        }
    
        public boolean isProcessRunning() {
            return !runningProcessMap.isEmpty();
        }
    
        public boolean isProcessRunning(final String sessionId) {
            final JobProcess jobProcess = runningProcessMap.get(sessionId);
            return jobProcess != null && jobProcess.getProcess().isAlive();
        }
    
        protected int destroyProcess(final String sessionId, final JobProcess jobProcess) {
            if (jobProcess != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K key = entry.getKey();
          V value = entry.getValue();
          Collection<V> collection = multimap().get(key);
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().remove(key, value);
          expectedCollection.remove(value);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

        val serverHandshake = serverHandshakeFuture.get()
        assertThat(listOf(clientCertificate.certificate, clientIntermediate.certificate))
          .isEqualTo(serverHandshake.peerCertificates)
        assertThat(listOf(serverCertificate.certificate, serverIntermediate.certificate))
          .isEqualTo(serverHandshake.localCertificates)
        val clientHandshake = clientHandshakeFuture.get()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top