- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 91 for defBlock (0.26 sec)
-
src/text/template/parse/lex_test.go
mkItem(itemNumber, "3"), mkItem(itemError, "unexpected right paren"), }}, // Fixed bugs // Many elements in an action blew the lookahead until // we made lexInsideAction not loop. {"long pipeline deadlock", "{{|||||}}", []item{ tLeft, tPipe, tPipe, tPipe, tPipe, tPipe, tRight, tEOF, }}, {"text with bad comment", "hello-{{/*/}}-world", []item{ mkItem(itemText, "hello-"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 15:03:43 UTC 2022 - 13.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
} case *Named: // subst is called during expansion, so in this function we need to be // careful not to call any methods that would cause t to be expanded: doing // so would result in deadlock. // // So we call t.Origin().TypeParams() rather than t.TypeParams(). orig := t.Origin() n := orig.TypeParams().Len() if n == 0 { return t // type is not parameterized }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy
blockingServer.expect(":cInvalidPing") run ":aPing", ":bPing", ":cInvalidPing" } } @Issue("https://github.com/gradle/gradle/issues/17013") def "does not deadlock when resolving outputs requires resolving multiple artifacts"() { buildFile(""" import org.gradle.util.internal.GFileUtils abstract class OutputDeadlockTask extends DefaultTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 14:00:51 UTC 2024 - 21K bytes - Viewed (0) -
src/runtime/arena.go
} return newobject(typ) } // Prevent preemption as we set up the space for a new object. // // Act like we're allocating. mp := acquirem() if mp.mallocing != 0 { throw("malloc deadlock") } if mp.gsignal == getg() { throw("malloc during signal") } mp.mallocing = 1 var ptr unsafe.Pointer if !typ.Pointers() { // Allocate pointer-less objects from the tail end of the chunk.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/runtime/os3_solaris.go
if mp.waitsema != 0 { return } var sem *semt // Call libc's malloc rather than malloc. This will // allocate space on the C heap. We can't call malloc // here because it could cause a deadlock. mp.libcall.fn = uintptr(unsafe.Pointer(&libc_malloc)) mp.libcall.n = 1 mp.scratch = mscratch{} mp.scratch.v[0] = unsafe.Sizeof(*sem) mp.libcall.args = uintptr(unsafe.Pointer(&mp.scratch))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 17.6K bytes - Viewed (0) -
src/encoding/json/stream_test.go
t.Run(tt.Name, func(t *testing.T) { r, w := net.Pipe() go w.Write([]byte(tt.in)) var val any // If Decode reads beyond what w.Write writes above, // it will block, and the test will deadlock. if err := NewDecoder(r).Decode(&val); err != nil { t.Errorf("%s: NewDecoder(%s).Decode error: %v", tt.Where, tt.in, err) } r.Close() w.Close() }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 16:00:37 UTC 2023 - 12.9K bytes - Viewed (0) -
pkg/scheduler/scheduler.go
// from the SchedulingQueue. // If there are no new pods to schedule, it will be hanging there // and if done in this goroutine it will be blocking closing // SchedulingQueue, in effect causing a deadlock on shutdown. go wait.UntilWithContext(ctx, sched.ScheduleOne, 0) <-ctx.Done() sched.SchedulingQueue.Close() // If the plugins satisfy the io.Closer interface, they are closed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} public void testCustomScheduler_deadlock() throws InterruptedException, BrokenBarrierException { final CyclicBarrier inGetNextSchedule = new CyclicBarrier(2); // This will flakily deadlock, so run it multiple times to increase the flake likelihood for (int i = 0; i < 1000; i++) { Service service = new AbstractScheduledService() { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} public void testCustomScheduler_deadlock() throws InterruptedException, BrokenBarrierException { final CyclicBarrier inGetNextSchedule = new CyclicBarrier(2); // This will flakily deadlock, so run it multiple times to increase the flake likelihood for (int i = 0; i < 1000; i++) { Service service = new AbstractScheduledService() { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
std::vector<ControlFlowInfo> control_flow_info; TF_RETURN_IF_ERROR(BuildControlFlowInfo(graph, &control_flow_info)); // The clustering code must avoid adding cycles to the graph to prevent // deadlock. However, the graph may contain loops, which would trigger the // cycle detection code. To handle loops, we alter the structure of the cycle // detection graph, disconnecting each loop from the enclosing graph.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0)