Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 260 for caught (0.12 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/printers/template.go

    	// to do this that has the defer'd func setting the value to be returned, but
    	// that would be even less obvious.
    	retErr := func() error {
    		defer func() {
    			if x := recover(); x != nil {
    				panicErr = fmt.Errorf("caught panic: %+v", x)
    			}
    		}()
    		return p.template.Execute(w, obj)
    	}()
    	if panicErr != nil {
    		return panicErr
    	}
    	return retErr
    }
    
    func base64decode(v string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go

    		rv, err := versioner.ParseResourceVersion(resourceVersion)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		err = c.watchCache.waitUntilFreshAndBlock(context.TODO(), rv)
    		if err != nil {
    			t.Fatalf("WatchCache didn't caught up to RV: %v", rv)
    		}
    		c.watchCache.RUnlock()
    
    		c.watchCache.Lock()
    		defer c.watchCache.Unlock()
    		c.Lock()
    		defer c.Unlock()
    
    		if c.watchCache.resourceVersion < rv {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 20:43:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Service.java

       * they were registered.
       *
       * <p>RuntimeExceptions thrown by a listener will be caught and logged. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException}) will be caught and
       * logged.
       *
       * @param listener the listener to run when the service changes state is complete
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. src/cmd/vet/doc.go

    Vet examines Go source code and reports suspicious constructs, such as Printf
    calls whose arguments do not align with the format string. Vet uses heuristics
    that do not guarantee all reports are genuine problems, but it can find errors
    not caught by the compilers.
    
    Vet is normally invoked through the go command.
    This command vets the package in the current directory:
    
    	go vet
    
    whereas this one vets the packages whose path is provided:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 00:17:30 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Service.java

       * they were registered.
       *
       * <p>RuntimeExceptions thrown by a listener will be caught and logged. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException}) will be caught and
       * logged.
       *
       * @param listener the listener to run when the service changes state is complete
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcarchive/testdata/main4.c

    	if (ss.ss_sp == NULL) {
    		die("malloc");
    	}
    	ss.ss_flags = 0;
    	ss.ss_size = CSIGSTKSZ;
    	if (sigaltstack(&ss, NULL) < 0) {
    		die("sigaltstack");
    	}
    
    	// Send ourselves a SIGIO.  This will be caught by the Go
    	// signal handler which should forward to the C signal
    	// handler.
    	i = pthread_kill(pthread_self(), SIGIO);
    	if (i != 0) {
    		fprintf(stderr, "pthread_kill: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/dumper.go

    				if err != nil {
    					return
    				}
    			}
    		}
    		p.last = b
    	}
    	if len(data) > n {
    		m, err = p.output.Write(data[n:])
    		n += m
    	}
    	return
    }
    
    // writeError wraps locally caught write errors so we can distinguish
    // them from genuine panics which we don't want to return as errors.
    type writeError struct {
    	err error
    }
    
    // printf is a convenience wrapper that takes care of print errors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 17:32:14 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingSortedMap.java

       * #containsKey} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContainsKey(@CheckForNull Object key) {
        try {
          // any CCE or NPE will be caught
          @SuppressWarnings({"unchecked", "nullness"})
          SortedMap<@Nullable Object, V> self = (SortedMap<@Nullable Object, V>) this;
          Object ceilingKey = self.tailMap(key).firstKey();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

       * #containsKey} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContainsKey(@CheckForNull Object key) {
        try {
          // any CCE or NPE will be caught
          @SuppressWarnings({"unchecked", "nullness"})
          SortedMap<@Nullable Object, V> self = (SortedMap<@Nullable Object, V>) this;
          Object ceilingKey = self.tailMap(key).firstKey();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/runtime/cgo/gcc_signal_ios_arm64.c

    		//
    		// Sends the first SIGSEGV and lets lldb catch the
    		// second one, avoiding a loop that locks up iOS
    		// devices requiring a hard reboot.
    		fprintf(stderr, "runtime/cgo: caught exc_bad_access\n");
    		fprintf(stderr, "__lr = %llx\n", thread_state.ts_64.__lr);
    		fprintf(stderr, "__pc = %llx\n", thread_state.ts_64.__pc);
    		static int pass1 = 0;
    		if (pass1) {
    			return KERN_FAILURE;
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:04:22 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top