Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for written (0.24 sec)

  1. src/bufio/bufio_test.go

    				t.Errorf("%s: buf.Flush = %v", context, e)
    			}
    
    			written := w.Bytes()
    			if len(written) != nwrite {
    				t.Errorf("%s: %d bytes written", context, len(written))
    			}
    			for l := 0; l < len(written); l++ {
    				if written[l] != data[l] {
    					t.Errorf("wrong bytes written")
    					t.Errorf("want=%q", data[0:len(written)])
    					t.Errorf("have=%q", written)
    				}
    			}
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		defer xioutil.ODirectPoolLarge.Put(bufp)
    	}
    
    	var written int64
    	if odirectEnabled {
    		written, err = xioutil.CopyAligned(diskHealthWriter(ctx, w), r, *bufp, fileSize, w)
    	} else {
    		written, err = io.CopyBuffer(diskHealthWriter(ctx, w), r, *bufp)
    	}
    	if err != nil {
    		w.Close()
    		return err
    	}
    
    	if written < fileSize && fileSize >= 0 {
    		w.Close()
    		return errLessData
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		closeBitrotReaders(readers)
    		if err != nil {
    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    			// that we have some parts or data blocks missing or corrupted
    			// - attempt a heal to successfully heal them for future calls.
    			if written == partLength {
    				var scan madmin.HealScanMode
    				switch {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  4. docs/changelogs/changelog_3x.md

        This simple option dramatically changes the behavior of the request body and of the entire
        call.
    
        The `RequestBody.writeTo()` method may now retain a reference to the provided sink and
        hand it off to another thread to write to it after `writeTo` returns.
    
        The `EventListener` may now see requests and responses interleaved in ways not previously
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/tinylib/msgp/msgp"
    )
    
    var (
    	// XL header specifies the format
    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  6. cmd/api-errors.go

    		Description:    "Expected LDAP short username but was given full DN.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    // errors returned by underlying layers.
    func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
    	if err == nil {
    		return ErrNone
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// that can be used to write data.
      ///
      /// Note: the `buffer` argument is NOT a null terminated string!
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if exactly `n` bytes have been written.
      ///   * Must set `status` to `TF_RESOURCE_EXHAUSTED` if fewer than `n` bytes
      ///     have been written, potentially due to quota/disk space.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertFailsWith<IllegalStateException> {
          abort()
        }
      }
    
      private fun Editor.setString(
        index: Int,
        value: String,
      ) {
        newSink(index).buffer().use { writer ->
          writer.writeUtf8(value)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Preconditions.java

       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top