Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Cause (0.19 sec)

  1. src/archive/zip/reader_test.go

    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestCVE202133196(t *testing.T) {
    	// Archive that indicates it has 1 << 128 -1 files,
    	// this would previously cause a panic due to attempting
    	// to allocate a slice with 1 << 128 -1 elements.
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x08,
    		0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    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)
  2. src/cmd/cgo/doc.go

    not be compiled separately, but, if these header files are changed,
    the package (including its non-Go source files) will be recompiled.
    Note that changes to files in other directories do not cause the package
    to be recompiled, so all non-Go source code for the package should be
    stored in the package directory, not in subdirectories.
    The default C and C++ compilers may be changed by the CC and CXX
    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

    	}
    }
    
    type dataAndEOFReader string
    
    func (r dataAndEOFReader) Read(p []byte) (int, error) {
    	return copy(p, r), io.EOF
    }
    
    func TestPeekThenUnreadRune(t *testing.T) {
    	// This sequence used to cause a crash.
    	r := NewReader(strings.NewReader("x"))
    	r.ReadRune()
    	r.Peek(1)
    	r.UnreadRune()
    	r.ReadRune() // Used to panic here
    }
    
    var testOutput = []byte("0123456789abcdefghijklmnopqrstuvwxy")
    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. doc/go1.17_spec.html

    for operands of the key type; thus the key type must not be a function, map, or
    slice.
    If the key type is an interface type, these
    comparison operators must be defined for the dynamic key values;
    failure will cause a <a href="#Run_time_panics">run-time panic</a>.
    
    </p>
    
    <pre>
    map[string]int
    map[*T]struct{ x, y float64 }
    map[string]interface{}
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. 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)
  6. src/bytes/boundary_test.go

    	. "bytes"
    	"syscall"
    	"testing"
    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    // operating systems.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. doc/go_spec.html

    for operands of the key type; thus the key type must not be a function, map, or
    slice.
    If the key type is an interface type, these
    comparison operators must be defined for the dynamic key values;
    failure will cause a <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    <pre>
    map[string]int
    map[*T]struct{ x, y float64 }
    map[string]interface{}
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg runtime/debug, type GCStats struct
    pkg runtime/debug, type GCStats struct, LastGC time.Time
    pkg runtime/debug, type GCStats struct, NumGC int64
    pkg runtime/debug, type GCStats struct, Pause []time.Duration
    pkg runtime/debug, type GCStats struct, PauseQuantiles []time.Duration
    pkg runtime/debug, type GCStats struct, PauseTotal time.Duration
    pkg sort, func Reverse(Interface) Interface
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	// _{keyword}.  Create a map from C ident -> Go ident. The Go ident will
    	// be mangled. Any existing identifier that already has the same name on
    	// the C-side will cause the Go-mangled version to be prefixed with _.
    	// (e.g. in a struct with fields '_type' and 'type', the latter would be
    	// rendered as '__type' in Go).
    	ident := make(map[string]string)
    	used := make(map[string]bool)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const ETH_P_MPLS_MC ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_MPLS_UC ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_PAE ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_PAUSE ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_PHONET ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_PPPTALK ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_PPP_DISC ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top