Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 195 for DIE (0.26 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   for (int i = 0; i < 5; i++) {
    //     EXPECT_DEATH(server.ProcessRequest(i),
    //                  "Invalid request .* in ProcessRequest()")
    //                  << "Failed to die on request " << i;
    //   }
    //
    //   ASSERT_EXIT(server.ExitNow(), ::testing::ExitedWithCode(0), "Exiting");
    //
    //   bool KilledBySIGHUP(int exit_code) {
    //     return WIFSIGNALED(exit_code) && WTERMSIG(exit_code) == SIGHUP;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. internal/http/dial_linux.go

    			// with dead end because tcp-keepalive is not fired when there is data in the socket buffer.
    			//    https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
    			// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can
    			// affect clients reading data with a very slow pace  (disappropriate with socket buffer sizes)
    			if opts.UserTimeout > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (3)
  3. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes.go

    		return nil, nil, err
    	}
    
    	nonceGen := &nonceGenerator{
    		// we start the nonce counter at one billion so that we are
    		// guaranteed to detect rollover across different go routines
    		zero:  1_000_000_000,
    		fatal: die,
    	}
    	nonceGen.nonce.Add(nonceGen.zero)
    
    	transformer, err := newGCMTransformerWithUniqueKeyUnsafe(block, nonceGen)
    	if err != nil {
    		return nil, nil, err
    	}
    	return transformer, key, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   for (int i = 0; i < 5; i++) {
    //     EXPECT_DEATH(server.ProcessRequest(i),
    //                  "Invalid request .* in ProcessRequest()")
    //                  << "Failed to die on request " << i;
    //   }
    //
    //   ASSERT_EXIT(server.ExitNow(), ::testing::ExitedWithCode(0), "Exiting");
    //
    //   bool KilledBySIGHUP(int exit_code) {
    //     return WIFSIGNALED(exit_code) && WTERMSIG(exit_code) == SIGHUP;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

     * daemon registry state changes, executing actions at certain state changes.
     */
    class DaemonLifecycleSpec extends AbstractDaemonLifecycleSpec {
    
        def "daemons do some work - sit idle - then timeout and die"() {
            //in this particular test we need to make the daemon timeout
            //shorter than the state transition timeout so that
            //we can detect the daemon idling out within state verification window
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/test/JavaModuleBackboxTestExcutionIntegrationTest.groovy

                test {
                    executable = '${TextUtil.escapeString(AvailableJavaHomes.getJdk8().javaExecutable)}'
                }
            """
            // Test workers that die very quickly after startup can cause an unexpected stack trace sometimes
            executer.withStackTraceChecksDisabled()
    
            when:
            testModuleInfo('requires junit')
            testModuleClass('')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. src/net/http/main_test.go

    		n := 0
    		stackCount = make(map[string]int)
    		gs := interestingGoroutines()
    		for _, g := range gs {
    			stackCount[g]++
    			n++
    		}
    		if n == 0 {
    			return false
    		}
    		// Wait for goroutines to schedule and die off:
    		time.Sleep(100 * time.Millisecond)
    	}
    	fmt.Fprintf(os.Stderr, "Too many goroutines running after net/http test(s).\n")
    	for stack, count := range stackCount {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server.go

    	if err != nil {
    		log.Errorf("failed to annotate pod unenrollment: %v", err)
    	}
    	return err
    }
    
    // Delete pod from mesh: pod is deleted. iptables rules will die with it, we just need to update ztunnel
    func (s *meshDataplane) DelPodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    	log := log.WithLabels("ns", pod.Namespace, "name", pod.Name)
    	err := s.netServer.DelPodFromMesh(ctx, pod)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/text/template/exec_test.go

    	{"or", "{{or 0 0}} {{or 1 0}} {{or 0 true}} {{or 1 1}}", "0 1 true 1", nil, true},
    	{"or short-circuit", "{{or 0 1 (die)}}", "1", nil, true},
    	{"and short-circuit", "{{and 1 0 (die)}}", "0", nil, true},
    	{"or short-circuit2", "{{or 0 0 (die)}}", "", nil, false},
    	{"and short-circuit2", "{{and 1 1 (die)}}", "", nil, false},
    	{"and pipe-true", "{{1 | and 1}}", "1", nil, true},
    	{"and pipe-false", "{{0 | and 1}}", "0", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      // than a function pointer or functor, or else Wait and Passed could
      // be combined.
      virtual bool Passed(bool exit_status_ok) = 0;
    
      // Signals that the death test did not die as expected.
      virtual void Abort(AbortReason reason) = 0;
    
      // Returns a human-readable outcome message regarding the outcome of
      // the last death test.
      static const char* LastMessage();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top