Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 71 for unwrapping (0.25 sec)

  1. src/cmd/vendor/golang.org/x/term/terminal.go

    		// of the latter because they have doubled every full line.
    
    		// We assume that we are working on a terminal that wraps lines
    		// and adjust the cursor position based on every previous line
    		// wrapping and turning into two. This causes the prompt on
    		// xterms to move upwards, which isn't great, but it avoids a
    		// huge mess with gnome-terminal.
    		if t.cursorX >= t.termWidth {
    			t.cursorX = t.termWidth - 1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  2. pkg/volume/util/util.go

    			globalMapPath, string(podUID), mapErr)
    	}
    
    	return nil
    }
    
    // UnmapBlockVolume is a utility function to provide a common way of unmapping
    // block device path for a specified volume and pod.  This function should be
    // called by volume plugins that implements volume.BlockVolumeMapper.Map() method.
    func UnmapBlockVolume(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/fmt.go

    			continue
    		}
    		m := v.Method(i)
    		mt := m.Type()
    		if mt.NumIn() == 0 && mt.NumOut() == 1 && mt.Out(0).Kind() == reflect.Bool {
    			// TODO(rsc): Remove the func/defer/recover wrapping,
    			// which is guarding against panics in miniExpr,
    			// once we get down to the simpler state in which
    			// nodes have no getter methods that aren't allowed to be called.
    			func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/go/scanner/scanner.go

    		s.error(offs+i, "invalid line number: "+string(text[i:]))
    		return
    	}
    
    	// Put a cap on the maximum size of line and column numbers.
    	// 30 bits allows for some additional space before wrapping an int32.
    	// Keep this consistent with cmd/compile/internal/syntax.PosMax.
    	const maxLineCol = 1 << 30
    	var line, col int
    	i2, n2, ok2 := trailingDigits(text[:i-1])
    	if ok2 {
    		//line filename:line:col
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    // A nil and empty Sets are considered equivalent to Everything().
    // It assumes that Set is already validated and doesn't do any validation.
    // Note: this method copies the Set; if the Set is immutable, consider wrapping it with ValidatedSetSelector
    // instead, which does not copy.
    func SelectorFromValidatedSet(ls Set) Selector {
    	if ls == nil || len(ls) == 0 {
    		return internalSelector{}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top