Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for problems (0.2 sec)

  1. misc/linkcheck/linkcheck.go

    	crawl(*root, "")
    
    	wg.Wait()
    	close(urlq)
    	for uf, needers := range neededFrags {
    		if !fragExists[uf] {
    			problems = append(problems, fmt.Sprintf("Missing fragment for %+v from %v", uf, needers))
    		}
    	}
    
    	for _, s := range problems {
    		fmt.Println(s)
    	}
    	if len(problems) > 0 {
    		os.Exit(1)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file is here just to cause problems.
    // main.swig turns into a file also named main.go.
    // Make sure cmd/go keeps them separate
    // when both are passed to cgo.
    
    package main
    
    //int F(void) { return 1; }
    import "C"
    import (
    	"fmt"
    	"os"
    )
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 975 bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    //	}
    //
    // The 4 GB of zeros compresses to 4 MB, which compresses to 20 kB,
    // which compresses to 1252 bytes (in the hex dump below).
    //
    // It's here in hex for the same reason as rZipBytes above: to avoid
    // problems with on-disk virus scanners or other zip processors.
    func biggestZipBytes() []byte {
    	s := `
    0000000 50 4b 03 04 14 00 08 00 08 00 00 00 00 00 00 00
    0000010 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 62 69
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue18146.go

    		buf := bytes.NewBuffer(nil)
    		cmd.Stdout = buf
    		cmd.Stderr = buf
    		if err := cmd.Start(); err != nil {
    			// We are starting so many processes that on
    			// some systems (problem seen on Darwin,
    			// Dragonfly, OpenBSD) the fork call will fail
    			// with EAGAIN.
    			if pe, ok := err.(*os.PathError); ok {
    				err = pe.Err
    			}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arch.go

    	// Standard register names.
    	for i := riscv.REG_X0; i <= riscv.REG_X31; i++ {
    		// Disallow X3 in shared mode, as this will likely be used as the
    		// GP register, which could result in problems in non-Go code,
    		// including signal handlers.
    		if shared && i == riscv.REG_GP {
    			continue
    		}
    		if i == riscv.REG_TP || i == riscv.REG_G {
    			continue
    		}
    		name := fmt.Sprintf("X%d", i-riscv.REG_X0)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    	// Officially, the name and comment fields are supposed to be encoded
    	// in CP-437 (which is mostly compatible with ASCII), unless the UTF-8
    	// flag bit is set. However, there are several problems:
    	//
    	//	* Many ZIP readers still do not support UTF-8.
    	//	* If the UTF-8 flag is cleared, several readers simply interpret the
    	//	name and comment fields as whatever the local system encoding is.
    	//
    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)
  7. src/cmd/cgo/gcc.go

    					// but not as a general constant.
    					// Treat this as a variable of the
    					// appropriate type, not a constant,
    					// to get C-style type handling,
    					// avoiding the problem that C permits
    					// uint64(-1) but Go does not.
    					// See issue 26066.
    					n.Kind = "var"
    				default:
    					n.Const = fmt.Sprintf("%f", floats[i])
    				}
    			case "sconst":
    				if i < len(strs) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    		required = append(required, fileFeatures(file, true)...)
    	}
    	exception := fileFeatures(filepath.Join(testenv.GOROOT(t), "api/except.txt"), false)
    
    	if exitCode == 1 {
    		t.Errorf("API database problems found")
    	}
    	if !compareAPI(bw, features, required, exception) {
    		t.Errorf("API differences found")
    	}
    }
    
    // export emits the exported package features.
    func (w *Walker) export(pkg *apiPackage) {
    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. api/go1.1.txt

    pkg syscall (linux-386), type TCPInfo struct, Options uint8
    pkg syscall (linux-386), type TCPInfo struct, Pad_cgo_0 [2]uint8
    pkg syscall (linux-386), type TCPInfo struct, Pmtu uint32
    pkg syscall (linux-386), type TCPInfo struct, Probes uint8
    pkg syscall (linux-386), type TCPInfo struct, Rcv_mss uint32
    pkg syscall (linux-386), type TCPInfo struct, Rcv_rtt uint32
    pkg syscall (linux-386), type TCPInfo struct, Rcv_space uint32
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  10. misc/cgo/gmp/gmp.go

    Translation of parameters and the return value follows the type
    translation above except that arrays passed as parameters translate
    explicitly in Go to pointers to arrays, as they do (implicitly) in C.
    
    Garbage collection is the big problem.  It is fine for the Go world to
    have pointers into the C world and to free those pointers when they
    are no longer needed.  To help, the Go code can define Go objects
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top