Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for storage (0.26 sec)

  1. src/archive/tar/writer.go

    	curr fileWriter // Writer for current file entry
    	hdr  Header     // Shallow copy of Header that is safe for mutations
    	blk  block      // Buffer to use as temporary local storage
    
    	// err is a persistent error.
    	// It is only the responsibility of every exported method of Writer to
    	// ensure that this error is sticky.
    	err error
    }
    
    // NewWriter creates a new Writer writing to w.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    of a <a href="#Function_declarations">function declaration</a>
    or <a href="#Function_literals">function literal</a> reserves
    storage for a named variable.
    
    Calling the built-in function <a href="#Allocation"><code>new</code></a>
    or taking the address of a <a href="#Composite_literals">composite literal</a>
    allocates storage for a variable at run time.
    Such an anonymous variable is referred to via a (possibly implicit)
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    	}
    	buf := new(strings.Builder)
    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    			Method: Store, // Deflate is too slow when it is compiled with -race flag
    		})
    		if err != nil {
    			t.Fatalf("creating file %d: %v", i, err)
    		}
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("Writer.Close: %v", err)
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/input.go

    	}
    	return true
    }
    
    // macroName returns the name for the macro being referenced.
    func (in *Input) macroName() string {
    	// We use the Stack's input method; no macro processing at this stage.
    	tok := in.Stack.Next()
    	if tok != scanner.Ident {
    		in.expectText("expected identifier after # directive")
    	}
    	// Name is alphanumeric by definition.
    	return in.Stack.Text()
    }
    
    // #define processing.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  5. src/builtin/builtin.go

    // it has sufficient capacity, the destination is resliced to accommodate the
    // new elements. If it does not, a new underlying array will be allocated.
    // Append returns the updated slice. It is therefore necessary to store the
    // result of append, often in the variable holding the slice itself:
    //
    //	slice = append(slice, elem1, elem2)
    //	slice = append(slice, anotherSlice...)
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg syscall (windows-386), const CERT_E_UNTRUSTEDROOT = 2148204809
    pkg syscall (windows-386), const CERT_STORE_ADD_ALWAYS = 4
    pkg syscall (windows-386), const CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG = 4
    pkg syscall (windows-386), const CERT_STORE_PROV_MEMORY = 2
    pkg syscall (windows-386), const CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT = 32768
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  7. src/arena/arena.go

    	return runtime_arena_arena_New(a.a, reflectlite.TypeOf((*T)(nil))).(*T)
    }
    
    // MakeSlice creates a new []T with the provided capacity and length. The []T must
    // not be used after the arena is freed. Accessing the underlying storage of the
    // slice after free may result in a fault, but this fault is also not guaranteed.
    func MakeSlice[T any](a *Arena, len, cap int) []T {
    	var sl []T
    	runtime_arena_arena_Slice(a.a, &sl, cap)
    	return sl[:len]
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  8. doc/asm.html

    <code>R5</code>, <code>R6</code> and <code>R7</code> with the 64-bit values at
    <code>0(R9)</code>, <code>8(R9)</code> and <code>16(R9)</code> respectively.
    </p>
    
    <p>
    Storage-and-storage instructions such as <code>MVC</code> and <code>XC</code> are written
    with the length as the first argument.
    For example, <code>XC</code> <code>$8,</code> <code>(R9),</code> <code>(R9)</code> would clear
    eight bytes at the address specified in <code>R9</code>.
    </p>
    
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64.s

    	// TLS load with local-exec (LUI + ADDIW + ADD of TP + load)
    	MOV	tls(SB), X5				// b70f00009b8f0f00b38f4f0083b20f00
    	MOVB	tls(SB), X5				// b70f00009b8f0f00b38f4f0083820f00
    
    	// TLS store with local-exec (LUI + ADDIW + ADD of TP + store)
    	MOV	X5, tls(SB)				// b70f00009b8f0f00b38f4f0023b05f00
    	MOVB	X5, tls(SB)				// b70f00009b8f0f00b38f4f0023805f00
    
    	// NOT pseudo-instruction
    	NOT	X5					// 93c2f2ff
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 22 04:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  10. src/archive/tar/stat_unix.go

    		} else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil {
    			h.Uname = u.Username
    			userMap.Store(h.Uid, h.Uname)
    		}
    		if g, ok := groupMap.Load(h.Gid); ok {
    			h.Gname = g.(string)
    		} else if g, err := user.LookupGroupId(strconv.Itoa(h.Gid)); err == nil {
    			h.Gname = g.Name
    			groupMap.Store(h.Gid, h.Gname)
    		}
    	}
    	h.AccessTime = statAtime(sys)
    	h.ChangeTime = statCtime(sys)
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top