Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 98 for Idle (0.15 sec)

  1. src/runtime/mgcsweep.go

    		//
    		// As a result, bgsweep sweeps in batches, and only calls into the scheduler
    		// at the end of every batch. Furthermore, it only yields its time if there
    		// isn't spare idle time available on other cores. If there's available idle
    		// time, helping to sweep can reduce allocation latencies by getting ahead of
    		// the proportional sweeper and having spans ready to go for allocation.
    		const sweepBatchSize = 10
    		nSwept := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            responseBodyComplete()
          }
          closed = true
        }
      }
    
      companion object {
        private const val NO_CHUNK_YET = -1L
    
        private const val STATE_IDLE = 0 // Idle connections are ready to write request headers.
        private const val STATE_OPEN_REQUEST_BODY = 1
        private const val STATE_WRITING_REQUEST_BODY = 2
        private const val STATE_READ_RESPONSE_HEADERS = 3
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/internal/trace/event/go122/event.go

    	ProcRunning
    	ProcIdle
    	ProcSyscall
    	ProcSyscallAbandoned
    )
    
    func (s ProcStatus) String() string {
    	switch s {
    	case ProcRunning:
    		return "Running"
    	case ProcIdle:
    		return "Idle"
    	case ProcSyscall:
    		return "Syscall"
    	}
    	return "Bad"
    }
    
    const (
    	// Various format-specific constants.
    	MaxBatchSize      = 64 << 10
    	MaxFramesPerStack = 128
    	MaxStringSize     = 1 << 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. internal/rest/client.go

    		}
    		return nil, errors.New(resp.Status)
    	}
    	if !c.NoMetrics {
    		resp.Body = &respBodyMonitor{ReadCloser: resp.Body, expectTimeouts: expectTimeouts}
    	}
    	return resp.Body, nil
    }
    
    // Close closes all idle connections of the underlying http client
    func (c *Client) Close() {
    	atomic.StoreInt32(&c.connected, closed)
    }
    
    // NewClient - returns new REST client.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java

            LOGGER.debug("Executing build {} in daemon client {pid={}}", buildId, processEnvironment.maybeGetPid());
    
            // Attempt to connect to an existing idle and compatible daemon
            int saneNumberOfAttempts = 100; //is it sane enough?
            for (int i = 1; i < saneNumberOfAttempts; i++) {
                final DaemonClientConnection connection = connector.connect(compatibilitySpec);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/runtime/runtime_test.go

    			b.ReportMetric(float64(latencies[len(latencies)*90/100]), "p90-ns")
    			b.ReportMetric(float64(latencies[len(latencies)*99/100]), "p99-ns")
    		}
    		return func(b *testing.B) {
    			b.Run("idle", runOne)
    
    			b.Run("loaded", func(b *testing.B) {
    				stop := applyGCLoad(b)
    				runOne(b)
    				// Make sure to stop the timer before we wait! The load created above
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/net/net.go

    	// The error's Timeout method will return true, but note that there
    	// are other possible errors for which the Timeout method will
    	// return true even if the deadline has not been exceeded.
    	//
    	// An idle timeout can be implemented by repeatedly extending
    	// the deadline after successful Read or Write calls.
    	//
    	// A zero value for t means I/O operations will not time out.
    	SetDeadline(t time.Time) error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. src/runtime/runtime-gdb.py

    G_SCAN = read_runtime_const("'runtime._Gscan'", 0x1000)
    G_SCANRUNNABLE = G_SCAN+G_RUNNABLE
    G_SCANRUNNING = G_SCAN+G_RUNNING
    G_SCANSYSCALL = G_SCAN+G_SYSCALL
    G_SCANWAITING = G_SCAN+G_WAITING
    
    sts = {
        G_IDLE: 'idle',
        G_RUNNABLE: 'runnable',
        G_RUNNING: 'running',
        G_SYSCALL: 'syscall',
        G_WAITING: 'waiting',
        G_MORIBUND_UNUSED: 'moribund',
        G_DEAD: 'dead',
        G_ENQUEUE_UNUSED: 'enqueue',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         * 
         * If enabled, SmbFile instances starting with their first use will hold a reference to their tree.
         * This means that trees/sessions/connections won't be idle-disconnected even if there are no other active
         * references (currently executing code, file descriptors).
         * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. src/internal/trace/event.go

    		if go122.ProcStatus(e.base.extra(version.Go122)[0]) == go122.ProcSyscallAbandoned {
    			// We've lost information because this ProcSteal advanced on a
    			// SyscallAbandoned state. Treat the P as idle because ProcStatus
    			// treats SyscallAbandoned as Idle. Otherwise we'll have an invalid
    			// transition.
    			beforeState = ProcIdle
    		}
    		s = procStateTransition(ProcID(e.base.args[0]), beforeState, ProcIdle)
    	case go122.EvProcStatus:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top