Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for properly (0.28 sec)

  1. misc/ios/README

    However, further setup is required to run tests or programs directly on a device.
    
    First make sure you have a valid developer certificate and have setup your device properly
    to run apps signed by your developer certificate. Then install the libimobiledevice and
    ideviceinstaller tools from https://www.libimobiledevice.org/. Use the HEAD versions from
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    will be replaced by the absolute path to the directory containing the source
    file. This allows pre-compiled static libraries to be included in the package
    directory and linked properly.
    For example if package foo is in the directory /go/src/foo:
    
    	// #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo
    
    Will be expanded to:
    
    	// #cgo LDFLAGS: -L/go/src/foo/libs -lfoo
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    		w.Write(b)
    	}
    	w.Flush()
    
    	if !bytes.Equal(got.Bytes(), want) {
    		t.Errorf("output mismatch:\ngot  %s\nwant %s", got.Bytes(), want)
    	}
    }
    
    // Check that write errors are returned properly.
    
    type errorWriterTest struct {
    	n, m   int
    	err    error
    	expect error
    }
    
    func (w errorWriterTest) Write(p []byte) (int, error) {
    	return len(p) * w.n / w.m, w.err
    }
    
    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)
  4. src/bufio/scan.go

    	if !atEOF && !utf8.FullRune(data) {
    		// Incomplete; get more bytes.
    		return 0, nil, nil
    	}
    
    	// We have a real UTF-8 encoding error. Return a properly encoded error rune
    	// but advance only one byte. This matches the behavior of a range loop over
    	// an incorrectly encoded string.
    	return 1, errorRune, nil
    }
    
    // dropCR drops a terminal \r from the data.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback.go

    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    func testCallbackGC(t *testing.T) {
    	nestedCall(runtime.GC)
    }
    
    func testCallbackPanic(t *testing.T) {
    	// Make sure panic during callback unwinds properly.
    	if lockedOSThread() {
    		t.Fatal("locked OS thread on entry to TestCallbackPanic")
    	}
    	defer func() {
    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    		if s.(string) != "callback panic" {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    		// 0. We still want to fail when a directory has associated uncompressed
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    // handleRegularFile sets up the current file reader and padding such that it
    // can only read the following logical data section. It will properly handle
    // special headers that contain no data section.
    func (tr *Reader) handleRegularFile(hdr *Header) error {
    	nb := hdr.Size
    	if isHeaderOnlyType(hdr.Typeflag) {
    		nb = 0
    	}
    	if nb < 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    // words mapped to their title case.
    //
    // Deprecated: The rule Title uses for word boundaries does not handle Unicode
    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    	// Hackish but effective. Depends on Map scanning in order and calling
    	// the closure once per rune.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) get(expected lex.ScanToken) lex.Token {
    	p.expect(expected, expected.String())
    	return p.next()
    }
    
    // expectOperandEnd verifies that the parsing state is properly at the end of an operand.
    func (p *Parser) expectOperandEnd() {
    	p.expect(scanner.EOF, "end of operand")
    }
    
    // expect verifies that the next item has the expected type. It does not consume it.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

        kCFTaggedObjectID_Undefined7 = (7 << 1) + 1,
    };
    */
    
    func (c *typeConv) badJNI(dt *dwarf.TypedefType) bool {
    	// In Dalvik and ART, the jobject type in the JNI interface of the JVM has the
    	// property that it is sometimes (always?) a small integer instead of a real pointer.
    	// Note: although only the android JVMs are bad in this respect, we declare the JNI types
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top