Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for thread_name (0.16 sec)

  1. src/cmd/trace/jsontrace_test.go

    			checkPlausibleHeapMetrics(t, data)
    			// TODO(mknyszek): Check for plausible thread and goroutine metrics.
    			checkMetaNamesEmitted(t, data, "process_name", []string{"STATS", "PROCS"})
    			checkMetaNamesEmitted(t, data, "thread_name", []string{"GC", "Network", "Timers", "Syscalls", "Proc 0"})
    			checkProcStartStop(t, data)
    			checkSyscalls(t, data)
    			checkNetworkUnblock(t, data)
    			// TODO(mknyszek): Check for flow events.
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocksProxy.kt

        executor.execute {
          val threadName = "SocksProxy ${serverSocket!!.localPort}"
          Thread.currentThread().name = threadName
          try {
            while (true) {
              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      private final SynchronousQueue<Response> responseQueue = new SynchronousQueue<>();
    
      private @Nullable Throwable uncaughtThrowable = null;
    
      public TestThread(L lockLikeObject, String threadName) {
        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      private final SynchronousQueue<Response> responseQueue = new SynchronousQueue<>();
    
      private @Nullable Throwable uncaughtThrowable = null;
    
      public TestThread(L lockLikeObject, String threadName) {
        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return;
            }
            short current = getSystemCpuPercent();
            if (current < percent) {
                return;
            }
            final String threadName = Thread.currentThread().getName();
            try {
                waitingThreadNames.add(threadName);
                while (current >= percent) {
                    if (logger.isInfoEnabled()) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 26 05:52:29 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

    import okhttp3.internal.http.CallServerInterceptor
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RetryAndFollowUpInterceptor
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.threadName
    import okio.AsyncTimeout
    import okio.Timeout
    
    /**
     * Bridge between OkHttp's application and network layers. This class exposes high-level application
     * layer primitives: connections, requests, responses, and streams.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        }
      } catch (_: SocketTimeoutException) {
        true // Read timed out; socket is good.
      } catch (_: IOException) {
        false // Couldn't read; socket is closed.
      }
    }
    
    internal inline fun threadName(
      name: String,
      block: () -> Unit,
    ) {
      val currentThread = Thread.currentThread()
      val oldName = currentThread.name
      currentThread.name = name
      try {
        block()
      } finally {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10001 finished run in   0 µs: task two",
        )
      }
    
      @Test fun taskNameIsUsedForThreadNameWhenRunning() {
        redQueue.execute("lucky task") {
          log += "run threadName:${Thread.currentThread().name}"
        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).containsExactly("run threadName:lucky task")
    
        taskFaker.assertNoMoreTasks()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top