- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,425 for Blocks (0.1 sec)
-
pkg/kube/inject/openshift.go
// parseSupplementalGroupAnnotation parses the group annotation into blocks. func parseSupplementalGroupAnnotation(groups string) ([]Block, error) { blocks := []Block{} segments := strings.Split(groups, ",") for _, segment := range segments { block, err := ParseBlock(segment) if err != nil { return nil, err } blocks = append(blocks, block) } if len(blocks) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 25 19:10:42 UTC 2023 - 5.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/branchelim_test.go
} if fun.blocks["entry"].Kind != BlockExit { t.Errorf("expected entry to be BlockExit; found kind %s", fun.blocks["entry"].Kind.String()) } } else { if len(fun.f.Blocks) != 3 { t.Fatalf("expected 3 block after branchelim and deadcode; found %d", len(fun.f.Blocks)) } } }) } } // Test that a trivial if/else is eliminated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 24 15:51:15 UTC 2018 - 5.2K bytes - Viewed (0) -
src/internal/trace/parser.go
EvGoBlock = 20 // goroutine blocks [timestamp, stack] EvGoUnblock = 21 // goroutine is unblocked [timestamp, goroutine id, seq, stack] EvGoBlockSend = 22 // goroutine blocks on chan send [timestamp, stack] EvGoBlockRecv = 23 // goroutine blocks on chan recv [timestamp, stack] EvGoBlockSelect = 24 // goroutine blocks on select [timestamp, stack]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:31:04 UTC 2024 - 4.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
} handler.addHandler(previous -> new ExpectInAnyOrder(lock, previous, expectations)); } /** * Expects the given requests to be made. Blocks until the given number of concurrent requests have been received, then releases one of the requests and blocks again. * Repeats until all of the requests have been received. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
src/testing/cover.go
for name, counts := range cover.Counters { blocks := cover.Blocks[name] for i := range counts { stmts := int64(blocks[i].Stmts) total += stmts count = atomic.LoadUint32(&counts[i]) // For -mode=atomic. if count > 0 { active += stmts } if f != nil { _, err := fmt.Fprintf(f, "%s:%d.%d,%d.%d %d %d\n", name, blocks[i].Line0, blocks[i].Col0, blocks[i].Line1, blocks[i].Col1, stmts,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:37:31 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/trim.go
f.Blocks = f.Blocks[:n] } } // emptyBlock reports whether the block does not contain actual // instructions. func emptyBlock(b *Block) bool { for _, v := range b.Values { if v.Op != OpPhi { return false } } return true } // trimmableBlock reports whether the block can be trimmed from the CFG, // subject to the following criteria: // - it should not be the first block.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 4.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc_test.go
regalloc(f.f) checkFunc(f.f) // Spill should be moved to exit2. if numSpills(f.blocks["loop1"]) != 0 { t.Errorf("spill present from loop1") } if numSpills(f.blocks["loop2"]) != 0 { t.Errorf("spill present in loop2") } if numSpills(f.blocks["exit1"]) != 0 { t.Errorf("spill present in exit1") } if numSpills(f.blocks["exit2"]) != 1 { t.Errorf("spill missing in exit2") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 6.3K bytes - Viewed (0) -
src/go/doc/comment/testdata/code.txt
a block. More text. Blocks can have blank lines. -- markdown -- Text. A tab-indented (no, not eight-space indented) code block and haiku. More text. One space is enough to start a block. More text. Blocks can have blank lines. -- html -- <p>Text.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:47 UTC 2022 - 944 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/flagalloc.go
p := e.b end[p.ID] = flag } } } } // For blocks which have a flags control value, that's the only value // we can leave in the flags register at the end of the block. (There // is no place to put a flag regeneration instruction.) for _, b := range f.Blocks { if b.Kind == BlockDefer { // Defer blocks internally use/clobber the flags value. end[b.ID] = nil continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 6.7K bytes - Viewed (0) -
cmd/erasure-encode.go
// Write writes data to writers. func (p *multiWriter) Write(ctx context.Context, blocks [][]byte) error { for i := range p.writers { if p.errs[i] != nil { continue } if p.writers[i] == nil { p.errs[i] = errDiskNotFound continue } var n int n, p.errs[i] = p.writers[i].Write(blocks[i]) if p.errs[i] == nil { if n != len(blocks[i]) { p.errs[i] = io.ErrShortWrite p.writers[i] = nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0)