Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 478 for readTime (0.06 sec)

  1. guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(NullPointerException.class, () -> Files.newReader(null, UTF_8));
    
        BufferedReader r = Files.newReader(asciiFile, US_ASCII);
        try {
          assertEquals(ASCII, r.readLine());
        } finally {
          r.close();
        }
      }
    
      public void testNewWriter() throws IOException {
        File temp = createTempFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                commentLines.clear();
                valueLines.clear();
                StringBuilder buffer = new StringBuilder();
    
                while (true) {
                    String line = readLine();
                    if (line == null) {
                        // EOF
                        return null;
                    }
    
                    if (isCommentLine(line)) {
                        commentLines.add(line);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  3. docs/recipes.md

    It's easy to use a file as a request body.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
            val file = File("README.md")
    
            val request = Request.Builder()
                .url("https://api.github.com/markdown/raw")
                .post(file.asRequestBody(MEDIA_TYPE_MARKDOWN))
                .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  4. cmd/erasure-decode_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	crand "crypto/rand"
    	"io"
    	"math/rand"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    	return 0, errFaultyDisk
    }
    
    var erasureDecodeTests = []struct {
    	dataBlocks                   int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. api/go1.19.txt

    pkg go/doc, func ToText //deprecated #51082
    pkg io/ioutil, func NopCloser //deprecated #42026
    pkg io/ioutil, func ReadAll //deprecated #42026
    pkg io/ioutil, func ReadDir //deprecated #42026
    pkg io/ioutil, func ReadFile //deprecated #42026
    pkg io/ioutil, func TempDir //deprecated #42026
    pkg io/ioutil, func TempFile //deprecated #42026
    pkg io/ioutil, func WriteFile //deprecated #42026
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  6. docs/pt/docs/contributing.md

    $ python ./scripts/docs.py build-all
    
    Updating es
    Updating en
    Building docs for: en
    Building docs for: es
    Successfully built docs for: es
    Copying en index.md to README.md
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. docs/fr/docs/contributing.md

    $ python ./scripts/docs.py build-all
    
    Updating es
    Updating en
    Building docs for: en
    Building docs for: es
    Successfully built docs for: es
    Copying en index.md to README.md
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload.go

    // TODO: add WorkloadGroup validation in pkg/config/validation
    func readWorkloadGroup(filename string, wg *clientnetworking.WorkloadGroup) error {
    	f, err := os.ReadFile(filename)
    	if err != nil {
    		return err
    	}
    	if err = yaml.Unmarshal(f, wg); err != nil {
    		return err
    	}
    	// fill empty structs
    	if wg.Spec.Metadata == nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  9. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, drive := range fsDirs {
    		dir := path.Join(drive, bucket, object, uuid.String())
    		_, err := os.ReadFile(pathJoin(dir, "part.1"))
    		if err == nil {
    			t.Fatal("expected data dit to be cleaned up")
    		}
    	}
    
    	// Remove the bucket - to simulate the case where bucket was
    	// created when the disk was down.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/istio-performance-dashboard.json

            "mode": "markdown"
          },
          "pluginVersion": "10.1.5",
          "title": "Performance Dashboard README",
          "transparent": true,
          "type": "text"
        },
        {
          "collapsed": false,
          "datasource": {
            "type": "prometheus",
            "uid": "${datasource}"
          },
          "gridPos": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top