Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for habe (0.15 sec)

  1. misc/go_android_exec/main.go

    		return 0, err
    	}
    
    	// In case we're booting a device or emulator alongside all.bash, wait for
    	// it to be ready. adb wait-for-device is not enough, we have to
    	// wait for sys.boot_completed.
    	if err := adb("wait-for-device", "exec-out", "while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;"); err != nil {
    		return 0, err
    	}
    
    	// Done once per make.bash.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    	for scanner.Scan() {
    		t.Fatal("read should fail")
    	}
    	err := scanner.Err()
    	if err != io.ErrUnexpectedEOF {
    		t.Errorf("unexpected error: %v", err)
    	}
    }
    
    // Test that Scan finishes if we have endless empty reads.
    type endlessZeros struct{}
    
    func (endlessZeros) Read(p []byte) (int, error) {
    	return 0, nil
    }
    
    func TestBadReader(t *testing.T) {
    	scanner := NewScanner(endlessZeros{})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. doc/go_mem.html

    must observe a value actually written to that location (perhaps by a concurrent executing goroutine)
    and not yet overwritten.
    These implementation constraints make Go more like Java or JavaScript,
    in that most races have a limited number of outcomes,
    and less like C and C++, where the meaning of any program with a race
    is entirely undefined, and the compiler may do anything at all.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    		// which the writeHeader method always encodes for the size fields.
    		// This is necessary as most compression formats have non-zero lengths
    		// even when compressing an empty string.
    		fh.Method = Store
    		fh.Flags &^= 0x8 // we will not write a data descriptor
    
    		// Explicitly clear sizes as they have no meaning for directories.
    		fh.CompressedSize = 0
    		fh.CompressedSize64 = 0
    		fh.UncompressedSize = 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    		//	---------- 0/0               0 1969-12-31 16:00
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 2014-05-13 09:53
    		//
    		// According to the PAX specification, this should have been the result:
    		//	---------- 0/0               0 2017-07-13 19:40 global1
    		//	---------- 0/0               0 2017-07-13 19:40 file2
    		//	---------- 0/0               0 2017-07-13 19:40 file3
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    // The buffer is only valid until the next write operation on b.
    func (b *Writer) AvailableBuffer() []byte {
    	return b.buf[b.n:][:0]
    }
    
    // Buffered returns the number of bytes that have been written into the current buffer.
    func (b *Writer) Buffered() int { return b.n }
    
    // Write writes the contents of p into the buffer.
    // It returns the number of bytes written.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    		src := filepath.Join(cwd, pkgpath)
    		if err := copyLocalDir(dst, src); err != nil {
    			return "", err
    		}
    	}
    
    	if underGoRoot {
    		// Copy timezone file.
    		//
    		// Typical apps have the zoneinfo.zip in the root of their app bundle,
    		// read by the time package as the working directory at initialization.
    		// As we move the working directory to the GOROOT pkg directory, we
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    			if methodNames == nil {
    				methodNames = make(map[string]bool)
    			}
    			methodNames[m.Obj().Name()] = true
    		}
    	}
    
    	// emit methods with pointer receiver; exclude
    	// methods that we have emitted already
    	// (the method set of *T includes the methods of T)
    	pset := types.NewMethodSet(types.NewPointer(typ))
    	for i, n := 0, pset.Len(); i < n; i++ {
    		m := pset.At(i)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/os/61893.md

    On Windows, the mode bits reported by [Lstat] and [Stat] for
    reparse points changed. Mount points no longer have [ModeSymlink] set,
    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 386 bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/03-gopls.yml

        validations:
          required: true
      - type: textarea
        id: editor-and-settings
        attributes:
          label: "Editor and settings"
          description: "Your editor and any settings you have configured (for example, your VSCode settings.json file)"
        validations:
          required: false
      - type: textarea
        id: logs
        attributes:
          label: "Logs"
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top