Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for bgwait (0.16 sec)

  1. src/cmd/dist/build.go

    		link = append(link, b)
    		if doclean {
    			clean = append(clean, b)
    		}
    	}
    	bgwait(&wg)
    
    	if ispackcmd {
    		xremove(link[targ])
    		dopack(link[targ], archive, link[targ+1:])
    		return
    	}
    
    	// Remove target before writing it.
    	xremove(link[targ])
    	bgrun(&wg, "", link...)
    	bgwait(&wg)
    }
    
    // packagefile returns the path to a compiled .a file for the given package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    	// will be, so we pretend to have an arbitrarily large number
    	// of workers, almost all of which are "waiting". While a
    	// worker is working it decrements nwait. If nproc == nwait,
    	// there are no workers.
    	work.nproc = ^uint32(0)
    	work.nwait = ^uint32(0)
    }
    
    // gcBgMarkWorkerNode is an entry in the gcBgMarkWorkerPool. It points to a single
    // gcBgMarkWorker goroutine.
    type gcBgMarkWorkerNode struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

              fail("")
            }
          },
        )
        assertThat(server.takeRequest().sequenceNumber)
          .isEqualTo(expectedSequenceNumber)
        responseDequeuedLatch!!.await()
        call.cancel()
        requestCanceledLatch!!.countDown()
        latch.await()
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun noRecoveryFromRefusedStreamWithRetryDisabled(
        protocol: Protocol,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    		g.Go(func() error {
    			// Get the set where it would be placed.
    			storageInfos[index] = getDiskInfos(ctx, pool.getHashedSet(object).getDisks()...)
    			return nil
    		}, index)
    	}
    
    	// Wait for the go routines.
    	g.Wait()
    
    	for i, zinfo := range storageInfos {
    		if zinfo == nil {
    			serverPools[i] = poolAvailableSpace{Index: i}
    			continue
    		}
    		var available uint64
    		if !isMinioMetaBucketName(bucket) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // RST_STREAM
        peer.acceptFrame() // DEGRADED PING
        peer.acceptFrame() // AWAIT PING
        peer.sendFrame().ping(true, Http2Connection.DEGRADED_PING, 1) // DEGRADED PONG
        peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0) // AWAIT PONG
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. src/runtime/mgcmark.go

    	startTime := nanotime()
    	trackLimiterEvent := gp.m.p.ptr().limiterEvent.start(limiterEventMarkAssist, startTime)
    
    	decnwait := atomic.Xadd(&work.nwait, -1)
    	if decnwait == work.nproc {
    		println("runtime: work.nwait =", decnwait, "work.nproc=", work.nproc)
    		throw("nwait > work.nprocs")
    	}
    
    	// gcDrainN requires the caller to be preemptible.
    	casGToWaitingForGC(gp, _Grunning, waitReasonGCAssistMarking)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    			if err != nil {
    				return err
    			}
    			diskVersions[index] = resp.Sign
    			dataDirs[index] = resp.OldDataDir
    			return nil
    		}, index)
    	}
    
    	// Wait for all renames to finish.
    	errs := g.Wait()
    
    	err := reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum)
    	if err != nil {
    		dg := errgroup.WithNErrs(len(disks))
    		for index, nerr := range errs {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_attacher_test.go

    	ticker := time.NewTicker(10 * time.Millisecond)
    	var attach *storage.VolumeAttachment
    	var err error
    	defer ticker.Stop()
    	// wait for attachment to be saved
    	for i := 0; i < 100; i++ {
    		attach, err = client.StorageV1().VolumeAttachments().Get(context.TODO(), attachID, metav1.GetOptions{})
    		if err != nil {
    			attach = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    				// persist in-memory state to disk after every 10secs.
    				batchLogIf(ctx, ri.updateAfter(ctx, api, 10*time.Second, job))
    
    				if wait := globalBatchConfig.ReplicationWait(); wait > 0 {
    					time.Sleep(wait)
    				}
    			}()
    		}
    		wk.Wait()
    
    		ri.RetryAttempts = attempts
    		ri.Complete = ri.ObjectsFailed == 0
    		ri.Failed = ri.ObjectsFailed > 0
    
    		globalBatchJobsMetrics.save(job.ID, ri)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  10. plugin/pkg/admission/limitranger/admission_test.go

    				if c.Namespace != attributesTest1.GetNamespace() {
    					t.Errorf("Expected %s namespace, got %s", attributesTest1.GetNamespace(), c.Namespace)
    				}
    			}
    		}()
    	}
    
    	// and here we wait for all the goroutines
    	wg.Wait()
    	// since all the calls with the same namespace will be holded, they must be catched on the singleflight group,
    	// There are two different sets of namespace calls
    	// hence only 2
    	if testCount != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top