Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for caught (0.27 sec)

  1. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    // batch in the following generation.
    //
    // This test captures this behavior by making both the first generation
    // and second generation bad. It requires that the issue in the first
    // generation, which is caught when actually ordering events, be reported
    // instead of the second one.
    
    package main
    
    import (
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

              return new IteratorWithSunJavaBug6529795<>(iterator);
            }
          }.test();
        } catch (AssertionError e) {
          return;
        }
        fail("Should have caught jdk6 bug in target iterator");
      }
    
      private static final int STEPS = 3;
    
      static class TesterThatCountsCalls extends IteratorTester<Integer> {
        TesterThatCountsCalls() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/os/signal/doc.go

    Signals are primarily used on Unix-like systems. For the use of this
    package on Windows and Plan 9, see below.
    
    # Types of signals
    
    The signals SIGKILL and SIGSTOP may not be caught by a program, and
    therefore cannot be affected by this package.
    
    Synchronous signals are signals triggered by errors in program
    execution: SIGBUS, SIGFPE, and SIGSEGV. These are only considered
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

                }
            """
    
            when:
            fails('reportProblem')
    
            then:
            receivedProblem.exception.message == 'test'
        }
    
        def "can rethrow a caught exception"() {
            given:
            withReportProblemTask """
                try {
                    problems.forNamespace("org.example.plugin").throwing {
                        it.id('type1', 'inner')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/test/groovy/org/gradle/vcs/git/internal/GitVersionControlSystemSpec.groovy

            then:
            GradleException e = thrown()
            e.message.contains('Could not clone from https://notarepo.invalid in')
            e.cause != null
            e.cause.message.contains('Exception caught during execution of fetch command')
            e.cause.cause != null
            e.cause.cause.message.contains('URI not supported: https://notarepo.invalid')
        }
    
        @Issue("https://github.com/gradle/gradle/issues/28823")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 13:11:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

              return new IteratorWithSunJavaBug6529795<>(iterator);
            }
          }.test();
        } catch (AssertionError e) {
          return;
        }
        fail("Should have caught jdk6 bug in target iterator");
      }
    
      private static final int STEPS = 3;
    
      static class TesterThatCountsCalls extends IteratorTester<Integer> {
        TesterThatCountsCalls() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. pkg/proxy/util/utils.go

    	// Return if address is already in "ipv4:port" or "[ipv6]:port" format.
    	if _, _, err := net.SplitHostPort(addr); err == nil {
    		return addr
    	}
    
    	// Simply return for invalid case. This should be caught by validation instead.
    	ip := netutils.ParseIPSloppy(addr)
    	if ip == nil {
    		return addr
    	}
    
    	// Append port to address.
    	if ip.To4() != nil {
    		return fmt.Sprintf("%s:%d", addr, port)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. pilot/pkg/model/envoyfilter.go

    	}
    	out.Patches = make(map[networking.EnvoyFilter_ApplyTo][]*EnvoyFilterConfigPatchWrapper)
    	for _, cp := range localEnvoyFilter.ConfigPatches {
    		if cp.Patch == nil {
    			// Should be caught by validation, but sometimes its disabled and we don't want to crash
    			// as a result.
    			log.Debugf("envoyfilter %s/%s discarded due to missing patch", local.Namespace, local.Name)
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 13:57:28 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/log/slog/value_test.go

    	got2 := v.Resolve().Any().([]Attr)
    	want2 := []Attr{Int("a", 1), Group("b", c)}
    	if !attrsEqual(got2, want2) {
    		t.Errorf("got %v, want %v", got2, want2)
    	}
    
    	// Verify that panics in Resolve are caught and turn into errors.
    	v = AnyValue(panickingLogValue{})
    	got = v.Resolve().Any()
    	gotErr, ok := got.(error)
    	if !ok {
    		t.Errorf("expected error, got %T", got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. pkg/volume/flexvolume/plugin.go

    }
    
    // Init is part of the volume.VolumePlugin interface.
    func (plugin *flexVolumePlugin) Init(host volume.VolumeHost) error {
    	plugin.host = host
    	// Hardwired 'success' as any errors from calling init() will be caught by NewFlexVolumePlugin()
    	return nil
    }
    
    func (plugin *flexVolumePlugin) getExecutable() string {
    	parts := strings.Split(plugin.driverName, "/")
    	execName := parts[len(parts)-1]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top