Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 235 for newsize (0.14 sec)

  1. src/debug/pe/file.go

    		f.closer = nil
    	}
    	return err
    }
    
    // TODO(brainman): add Load function, as a replacement for NewFile, that does not call removeAuxSymbols (for performance)
    
    // NewFile creates a new [File] for accessing a PE binary in an underlying reader.
    func NewFile(r io.ReaderAt) (*File, error) {
    	f := new(File)
    	sr := io.NewSectionReader(r, 0, 1<<63-1)
    
    	var dosheader [96]byte
    	if _, err := r.ReadAt(dosheader[0:], 0); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. src/encoding/csv/reader.go

    // instead of CRLF as newline character by default.
    //
    // A csv file contains zero or more records of one or more fields per record.
    // Each record is separated by the newline character. The final record may
    // optionally be followed by a newline character.
    //
    //	field1,field2,field3
    //
    // White space is considered part of a field.
    //
    // Carriage returns before newline characters are silently removed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/chacha20/chacha_generic.go

    package chacha20
    
    import (
    	"crypto/cipher"
    	"encoding/binary"
    	"errors"
    	"math/bits"
    
    	"golang.org/x/crypto/internal/alias"
    )
    
    const (
    	// KeySize is the size of the key used by this cipher, in bytes.
    	KeySize = 32
    
    	// NonceSize is the size of the nonce used with the standard variant of this
    	// cipher, in bytes.
    	//
    	// Note that this is too short to be safely generated at random if the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/dra/plugin/noderesources.go

    			if !ok {
    				return
    			}
    			newSlice, ok := new.(*resourceapi.ResourceSlice)
    			if !ok {
    				return
    			}
    			if loggerV := logger.V(6); loggerV.Enabled() {
    				loggerV.Info("ResourceSlice update", "slice", klog.KObj(newSlice), "diff", cmp.Diff(oldSlice, newSlice))
    			} else {
    				logger.V(5).Info("ResourceSlice update", "slice", klog.KObj(newSlice))
    			}
    			c.queue.Add(newSlice.DriverName)
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go

    //
    // A signed note consists of a text ending in newline (U+000A),
    // followed by a blank line (only a newline),
    // followed by one or more signature lines of this form:
    // em dash (U+2014), space (U+0020),
    // server name, space, base64-encoded signature, newline.
    //
    // Signed notes must be valid UTF-8 and must not contain any
    // ASCII control characters (those below U+0020) other than newline.
    //
    // A signature is a base64 encoding of 4+n bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  6. src/os/file_plan9.go

    func (f *File) Fd() uintptr {
    	if f == nil {
    		return ^(uintptr(0))
    	}
    	return uintptr(f.fd)
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor.
    func NewFile(fd uintptr, name string) *File {
    	fdi := int(fd)
    	if fdi < 0 {
    		return nil
    	}
    	f := &File{&file{fd: fdi, name: name}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/kubeconfig/kubeconfig_test.go

    					"failed WriteToDisk with an error:\n\texpected: %s\n\t  actual: %s",
    					rt.expected,
    					err,
    				)
    			}
    			newFile, _ := os.ReadFile(configPath)
    			if !bytes.Equal(newFile, rt.file) {
    				t.Errorf(
    					"failed WriteToDisk config write:\n\texpected: %s\n\t  actual: %s",
    					rt.file,
    					newFile,
    				)
    			}
    		})
    	}
    }
    
    func TestGetCurrentAuthInfo(t *testing.T) {
    	var testCases = []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 06:49:59 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. src/go/scanner/scanner.go

    	rdOffset   int       // reading offset (position after current character)
    	lineOffset int       // current line offset
    	insertSemi bool      // insert a semicolon before next newline
    	nlPos      token.Pos // position of newline in preceding comment
    
    	// public state - ok to modify
    	ErrorCount int // number of errors encountered
    }
    
    const (
    	bom = 0xFEFF // byte order mark, only permitted as very first character
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  9. hack/lib/golang.sh

    # ------------
    # NOTE: All functions that return lists should use newlines.
    # bash functions can't return arrays, and spaces are tricky, so newline
    # separators are the preferred pattern.
    # To transform a string of newline-separated items to an array, use kube::util::read-array:
    # kube::util::read-array FOO < <(kube::golang::dups a b c a)
    #
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

          cutil::SetElement(size, buffer, push.getTensor(), builder, push.getLoc());
      auto new_size = builder.create<TF::AddV2Op>(
          push.getLoc(), ArrayRef<Type>{size.getType()},
          ArrayRef<Value>{size, cutil::GetR1Const({1LL}, builder, push.getLoc())});
      push.getOutputHandle().replaceAllUsesWith(new_buffer);
      (*buffer_to_size)[new_buffer] = {new_size, /*fixed=*/false};
      push.erase();
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top