Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 90 for livable (0.13 sec)

  1. src/encoding/json/encode_test.go

    	}
    	x := Foo{Number(`invalid`)}
    
    	if _, err := Marshal(&x); err == nil {
    		t.Fatalf("Marshal error: got nil, want non-nil")
    	}
    }
    
    func TestMarshalErrorAndReuseEncodeState(t *testing.T) {
    	// Disable the GC temporarily to prevent encodeState's in Pool being cleaned away during the test.
    	percent := debug.SetGCPercent(-1)
    	defer debug.SetGCPercent(percent)
    
    	// Trigger an error in Marshal with cyclic data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug_test.go

    		t.Skip(skipReasons[:len(skipReasons)-2])
    	}
    
    	optFlags := "" // Whatever flags are needed to test debugging of optimized code.
    	dbgFlags := "-N -l"
    	if *useGdb && !*inlines {
    		// For gdb (default), disable inlining so that a compiler test does not depend on library code.
    		// TODO: Technically not necessary in 1.10 and later, but it causes a largish regression that needs investigation.
    		optFlags += " -l"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	}
    
    	if !formatter {
    		if !found {
    			pass.ReportRangef(call, "%s format %s has unknown verb %c", state.name, state.format, state.verb)
    			return false
    		}
    		for _, flag := range state.flags {
    			// TODO: Disable complaint about '0' for Go 1.10. To be fixed properly in 1.11.
    			// See issues 23598 and 23605.
    			if flag == '0' {
    				continue
    			}
    			if !strings.ContainsRune(v.flags, rune(flag)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. src/runtime/mgcsweep.go

    func isSweepDone() bool {
    	return sweep.active.isDone()
    }
    
    // Returns only when span s has been swept.
    //
    //go:nowritebarrier
    func (s *mspan) ensureSwept() {
    	// Caller must disable preemption.
    	// Otherwise when this function returns the span can become unswept again
    	// (if GC is triggered on another goroutine).
    	gp := getg()
    	if gp.m.locks == 0 && gp.m.mallocing == 0 && gp != gp.m.g0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  5. src/path/filepath/path_windows_test.go

    //	1 - Disable 8dot3 name creation on all volumes on the system
    //	2 - Set 8dot3 name creation on a per volume basis
    //	3 - Disable 8dot3 name creation on all volumes except the system volume
    //
    // If global flag is set to 2, then per-volume flag needs to be examined:
    //
    //	0 - Enable 8dot3 name creation on this volume
    //	1 - Disable 8dot3 name creation on this volume
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/security.go

    	re(`-Wl,--(no-)?as-needed`),
    	re(`-Wl,-Bdynamic`),
    	re(`-Wl,-berok`),
    	re(`-Wl,-Bstatic`),
    	re(`-Wl,-Bsymbolic-functions`),
    	re(`-Wl,-O[0-9]+`),
    	re(`-Wl,-d[ny]`),
    	re(`-Wl,--disable-new-dtags`),
    	re(`-Wl,-e[=,][a-zA-Z0-9]+`),
    	re(`-Wl,--enable-new-dtags`),
    	re(`-Wl,--end-group`),
    	re(`-Wl,--(no-)?export-dynamic`),
    	re(`-Wl,-E`),
    	re(`-Wl,-framework,[^,@\-][^,]+`),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/cmd/go/internal/script/engine.go

    	s      string
    	quoted bool // if true, disable variable expansion for this fragment
    }
    
    type condition struct {
    	want bool
    	tag  string
    }
    
    const argSepChars = " \t\r\n#"
    
    // parse parses a single line as a list of space-separated arguments.
    // subject to environment variable expansion (but not resplitting).
    // Single quotes around text disable splitting and expansion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  8. src/runtime/debug/garbage.go

    // nearly continuously. However, the application may still make
    // progress.
    //
    // The memory limit is always respected by the Go runtime, so to
    // effectively disable this behavior, set the limit very high.
    // [math.MaxInt64] is the canonical value for disabling the limit,
    // but values much greater than the available memory on the underlying
    // system work just as well.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/sym.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package obj
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/encoding/json/stream_test.go

    			t.Errorf("encoding %d items: mismatch:", i)
    			diff(t, []byte(have), []byte(want))
    			break
    		}
    	}
    }
    
    func TestEncoderErrorAndReuseEncodeState(t *testing.T) {
    	// Disable the GC temporarily to prevent encodeState's in Pool being cleaned away during the test.
    	percent := debug.SetGCPercent(-1)
    	defer debug.SetGCPercent(percent)
    
    	// Trigger an error in Marshal with cyclic data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top