Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 56 of 56 for unwrapping (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        threadFail("should throw " + exceptionName);
      }
    
      /**
       * Records the given exception using {@link #threadRecordFailure}, then rethrows the exception,
       * wrapping it in an AssertionFailedError if necessary.
       */
      public void threadUnexpectedException(Throwable t) {
        threadRecordFailure(t);
        t.printStackTrace();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git.go

    				}
    			}
    
    			// If the remote URL doesn't exist at all, ideally we should treat the whole
    			// repository as nonexistent by wrapping the error in a notExistError.
    			// For HTTP and HTTPS, that's easy to detect: we'll try to fetch the URL
    			// ourselves and see what code it serves.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    			return
    		}
    		if state.hasIndex {
    			anyIndex = true
    		}
    		if state.verb == 'w' {
    			switch kind {
    			case KindNone, KindPrint, KindPrintf:
    				pass.Reportf(call.Pos(), "%s does not support error-wrapping directive %%w", state.name)
    				return
    			}
    		}
    		if len(state.argNums) > 0 {
    			// Continue with the next sequential argument.
    			argNum = state.argNums[len(state.argNums)-1] + 1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/vcs/vcs.go

    	}
    	return err
    }
    
    func (e *importError) Error() string {
    	return e.err.Error()
    }
    
    func (e *importError) Unwrap() error {
    	// Don't return e.err directly, since we're only wrapping an error if %w
    	// was passed to ImportErrorf.
    	return errors.Unwrap(e.err)
    }
    
    func (e *importError) ImportPath() string {
    	return e.importPath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  5. src/os/exec/exec.go

    	// If the command exits with a success status after Cancel is
    	// called, and Cancel does not return an error equivalent to
    	// os.ErrProcessDone, then Wait and similar methods will return a non-nil
    	// error: either an error wrapping the one returned by Cancel,
    	// or the error from the Context.
    	// (If the command exits with a non-success status, or Cancel
    	// returns an error that wraps os.ErrProcessDone, Wait and similar methods
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. src/net/netip/netip.go

    // IPv6 addresses.
    func (ip Addr) Is6() bool {
    	return ip.z != z0 && ip.z != z4
    }
    
    // Unmap returns ip with any IPv4-mapped IPv6 address prefix removed.
    //
    // That is, if ip is an IPv6 address wrapping an IPv4 address, it
    // returns the wrapped IPv4 address. Otherwise it returns ip unmodified.
    func (ip Addr) Unmap() Addr {
    	if ip.Is4In6() {
    		ip.z = z4
    	}
    	return ip
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top