Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 151 for splitLine (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder.go

    }
    
    func (d *YAMLDecoder) Close() error {
    	return d.r.Close()
    }
    
    const yamlSeparator = "\n---"
    const separator = "---"
    
    // splitYAMLDocument is a bufio.SplitFunc for splitting YAML streams into individual documents.
    func splitYAMLDocument(data []byte, atEOF bool) (advance int, token []byte, err error) {
    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    	sep := len([]byte(yamlSeparator))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 10.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

            programTarget: ProgramTarget
        ): CompiledScript {
    
            // TODO: consider computing stage 1 accessors only when there's a buildscript or plugins block
            // TODO: consider splitting buildscript/plugins block accessors
            val stage1BlocksAccessorsClassPath = when (programTarget) {
                ProgramTarget.Project -> host.stage1BlocksAccessorsFor(scriptHost)
                else -> ClassPath.EMPTY
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/ld_test.go

    	switch runtime.GOARCH {
    	case "ppc64", "ppc64le", "arm":
    	case "arm64":
    		if runtime.GOOS == "darwin" {
    			break
    		}
    		fallthrough
    	default:
    		t.Skipf("text section splitting is not done in %s/%s", runtime.GOOS, runtime.GOARCH)
    	}
    
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	t.Parallel()
    	dir := t.TempDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. src/runtime/sys_netbsd_386.s

    	get_tls(AX)
    	MOVL	DX, g(AX)
    	MOVL	BX, g_m(DX)
    
    	CALL	runtime·stackcheck(SB)	// smashes AX, CX
    	MOVL	0(DX), DX		// paranoia; check they are not nil
    	MOVL	0(BX), BX
    
    	// more paranoia; check that stack splitting code works
    	PUSHAL
    	CALL	runtime·emptyfunc(SB)
    	POPAL
    
    	// Call fn
    	CALL	SI
    
    	// fn should never return
    	MOVL	$0x1234, 0x1005
    	RET
    
    TEXT ·netbsdMstart(SB),NOSPLIT|TOPFRAME,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testplugin/plugin_test.go

    	run(t, "./issue62430.exe")
    }
    
    func TestTextSectionSplit(t *testing.T) {
    	globalSkip(t)
    	if runtime.GOOS != "darwin" || runtime.GOARCH != "arm64" {
    		t.Skipf("text section splitting is not done in %s/%s", runtime.GOOS, runtime.GOARCH)
    	}
    
    	// Use -ldflags=-debugtextsize=262144 to let the linker split text section
    	// at a smaller size threshold, so it actually splits for the test binary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/config.go

    	lateLowerValue valueRewriter  // value lowering function that needs to be run after the first round; only used on some architectures
    	splitLoad      valueRewriter  // function for splitting merged load ops; only used on some architectures
    	registers      []Register     // machine registers
    	gpRegMask      regMask        // general purpose integer register mask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. src/runtime/lockrank_on.go

    			}
    		}
    	}
    	if !rankOK {
    		printlock()
    		println(gp.m.procid, " ======")
    		printHeldLocks(gp)
    		throw("lock ordering problem")
    	}
    }
    
    // See comment on lockWithRank regarding stack splitting.
    func unlockWithRank(l *mutex) {
    	if l == &debuglock || l == &paniclk || l == &raceFiniLock {
    		// See comment at beginning of lockWithRank.
    		unlock2(l)
    		return
    	}
    	gp := getg()
    	systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/fmt/format.go

    		if negative || f.plus || f.space {
    			prec-- // leave room for sign
    		}
    	}
    
    	// Because printing is easier right-to-left: format u into buf, ending at buf[i].
    	// We could make things marginally faster by splitting the 32-bit case out
    	// into a separate block but it's not worth the duplication, so u has 64 bits.
    	i := len(buf)
    	// Use constants for the division and modulo for more efficient code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/switch.go

    	slice.SetTypecheck(1) // legacy typechecker doesn't handle this op
    	slice.MarkNonNil()
    	// Load the byte we're splitting on.
    	load := ir.NewIndexExpr(base.Pos, slice, ir.NewInt(base.Pos, int64(bestIdx)))
    	// Compare with the value we're splitting on.
    	cmp := ir.Node(ir.NewBinaryExpr(base.Pos, ir.OLE, load, ir.NewInt(base.Pos, int64(bestByte))))
    	cmp = typecheck.DefaultLit(typecheck.Expr(cmp), nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

        checkNotNull(range);
        checkNotNull(remappingFunction);
    
        if (range.isEmpty()) {
          return;
        }
        split(range.lowerBound);
        split(range.upperBound);
    
        // Due to the splitting of any entries spanning the range bounds, we know that any entry with a
        // lower bound in the merge range is entirely contained by the merge range.
        Set<Entry<Cut<K>, RangeMapEntry<K, V>>> entriesInMergeRange =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top