Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 476 for Rewrite (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    
    class CompressionInterceptorTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      val source =
        Buffer().apply {
          write("Hello World".encodeUtf8())
        } as Source
    
      @Test
      fun emptyDoesntChangeRequestOrResponse() {
        val empty = CompressionInterceptor()
        val client =
          clientTestRule
            .newClientBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

          println()
        }
    
        // Stream the response to the System.out as it is returned from the server.
        val out = System.out.sink()
        val source = response.body.source()
        while (!source.exhausted()) {
          out.write(source.buffer, source.buffer.size)
          out.flush()
        }
    
        response.body.close()
      } catch (e: IOException) {
        e.printStackTrace()
      } finally {
        close()
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. CONTRIBUTING.md

    - To run `make test` and `make build` completes.
    
    ### Commit changes
    
    After verification, commit your changes. This is a [great post](https://chris.beams.io/posts/git-commit/) on how to write useful commit messages
    
    ```
    git commit -am 'Add some feature'
    ```
    
    ### Push to the branch
    
    Push your locally committed changes to the remote origin (your fork)
    
    ```
    git push origin my-new-feature
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 05 18:35:53 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      RecordedRequest(
        requestLine = requestLine,
        headers = headers,
        chunkSizes = chunkSizes ?: listOf(),
        bodySize = bodySize,
        body = Buffer().write(body ?: ByteString.EMPTY),
        sequenceNumber = exchangeIndex,
        failure = failure,
        method = method,
        path = target,
        handshake = handshake,
        requestUrl = url,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 4.1K bytes
    - Click Count (1)
  5. .github/workflows/translate.yml

        runs-on: ubuntu-latest
        strategy:
          matrix:
            lang: ${{ fromJson(needs.langs.outputs.langs) }}
            command: ${{ fromJson(needs.langs.outputs.commands) }}
        permissions:
          contents: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
            with:
              fetch-depth: 0
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:48:45 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

                 OutputStreamWriter outputStream = new OutputStreamWriter(new FileOutputStream(destination), outputEncoding)) {
                String html = renderer.render(parser.parseReader(inputStream));
                outputStream.write(html);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    This way you write shared code once and **FastAPI** takes care of calling it for your *path operations*.
    
    /// check
    
    Notice that you don't have to create a special class and pass it somewhere to **FastAPI** to "register" it or anything similar.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    ## Write the callback documentation code { #write-the-callback-documentation-code }
    
    This code won't be executed in your app, we only need it to *document* how that *external API* should look like.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. misc/ios/go_ios_exec.go

    	cmd := exec.Command(
    		"xcrun", "simctl", "install",
    		"booted", // Install to the booted simulator.
    		appdir,
    	)
    	if out, err := cmd.CombinedOutput(); err != nil {
    		os.Stderr.Write(out)
    		return fmt.Errorf("xcrun simctl install booted %q: %v", appdir, err)
    	}
    	return nil
    }
    
    func runSimulator(appdir, bundleID string, args []string) error {
    	xcrunArgs := []string{"simctl", "spawn",
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 00:34:45 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. ci/official/utilities/extract_resultstore_links.py

        testsuite.attrib = suite_attrib
        indent_xml(testsuites)
    
      tree = ElemTree.ElementTree(testsuites)
      file_path = os.path.join(output_path)
      with open(file_path, 'wb') as f:
        f.write(b'<?xml version="1.0"?>\n')
        tree.write(f)
        if verbose:
          print(f'\nWrote XML with Bazel invocation results to {file_path}')
    
    
    def print_invocation_results(result_store_dict: ResultDictType):
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
Back to Top