Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for unwrapping (0.27 sec)

  1. src/strconv/atof_test.go

    	benchmarksRandomBits   [1024]string
    	benchmarksRandomNormal [1024]string
    )
    
    func initAtof() {
    	atofOnce.Do(initAtofOnce)
    }
    
    func initAtofOnce() {
    	// The atof routines return NumErrors wrapping
    	// the error and the string. Convert the table above.
    	for i := range atoftests {
    		test := &atoftests[i]
    		if test.err != nil {
    			test.err = &NumError{"ParseFloat", test.in, test.err}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 23.6K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/object.h

      /// If the `key` is not found in the object, the object's "__parent__"
      /// attribute is then searched.
      ///
      /// @tparam T The desired return type.
      /// @param key The key to look up.
      /// @return `StatusOr` wrapping the key's value.
      template <class T = Handle>
      tensorflow::StatusOr<T> Get(const String& key) {
        auto& dict = value_.dict();
        auto it = dict.find(key.value_);
        if (it != dict.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    		}
    
    		visitors = append(visitors, visitor)
    		return nil
    	})
    
    	if err != nil {
    		return nil, err
    	}
    	return visitors, nil
    }
    
    // FileVisitor is wrapping around a StreamVisitor, to handle open/close files
    type FileVisitor struct {
    	Path string
    	*StreamVisitor
    }
    
    // Visit in a FileVisitor is just taking care of opening/closing files
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  4. src/runtime/profbuf.go

    			break
    		}
    		// Otherwise we're racing to increment against reader
    		// who wants to set b.overflow to 0.
    		// Out of paranoia, leave 2³²-1 a sticky overflow value,
    		// to avoid wrapping around. Extremely unlikely.
    		if int32(overflow) == -1 {
    			break
    		}
    		if b.overflow.CompareAndSwap(overflow, overflow+1) {
    			break
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. android/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: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top