Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for splittable (0.15 sec)

  1. src/runtime/testdata/testprogcgo/stackswitch.go

    func init() {
    	register("StackSwitchCallback", StackSwitchCallback)
    }
    
    //export stackSwitchCallback
    func stackSwitchCallback() {
    	// We want to trigger a bounds check on the g0 stack. To do this, we
    	// need to call a splittable function through systemstack().
    	// SetGCPercent contains such a systemstack call.
    	gogc := debug.SetGCPercent(100)
    	debug.SetGCPercent(gogc)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Streams.java

       * <p>would return {@code Stream.of("0:a", "1:b", "2:c")}.
       *
       * <p>The resulting stream is <a
       * href="http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html">efficiently splittable</a>
       * if and only if {@code stream} was efficiently splittable and its underlying spliterator
       * reported {@link Spliterator#SUBSIZED}. This is generally the case if the underlying stream
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/stackcheck.go

    // limit.
    func (ctxt *Link) doStackCheck() {
    	sc := newStackCheck(ctxt, false)
    
    	// limit is number of bytes a splittable function ensures are
    	// available on the stack. If any call chain exceeds this
    	// depth, the stack check test fails.
    	//
    	// The call to morestack in every splittable function ensures
    	// that there are at least StackLimit bytes available below SP
    	// when morestack returns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. src/runtime/debug.go

    //
    // This must be deeply nosplit because it is called from a function
    // prologue before the stack is set up and because the compiler will
    // call it from any splittable prologue (leading to infinite
    // recursion).
    //
    // Ideally it should also use very little stack because the linker
    // doesn't currently account for this in nosplit stack depth checking.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. test/nosplit.go

    			fmt.Fprintf(&buf, "#define REGISTER R10\n")
    		default:
    			fmt.Fprintf(&buf, "#define REGISTER AX\n")
    		}
    
    		// Since all of the functions we're generating are
    		// ABI0, first enter ABI0 via a splittable function
    		// and then go to the chain we're testing. This way we
    		// don't have to account for ABI wrappers in the chain.
    		fmt.Fprintf(&gobuf, "func main0()\n")
    		fmt.Fprintf(&gobuf, "func main() { main0() }\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. src/runtime/HACKING.md

    - Functions that may run without a valid G. For example, functions
      that run in early runtime start-up, or that may be entered from C
      code such as cgo callbacks or the signal handler.
    
    Splittable functions ensure there's some amount of space on the stack
    for nosplit functions to run in and the linker checks that any static
    chain of nosplit function calls cannot exceed this bound.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

        }
    
        @Override
        public List<Integer> subList(int fromIndex, int toIndex) {
          return parent.subArray(fromIndex, toIndex).asList();
        }
    
        // The default List spliterator is not efficiently splittable
        @Override
        public Spliterator<Integer> spliterator() {
          return parent.spliterator();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        }
    
        @Override
        public List<Double> subList(int fromIndex, int toIndex) {
          return parent.subArray(fromIndex, toIndex).asList();
        }
    
        // The default List spliterator is not efficiently splittable
        @Override
        public Spliterator<Double> spliterator() {
          return parent.spliterator();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
    
        @Override
        public List<Long> subList(int fromIndex, int toIndex) {
          return parent.subArray(fromIndex, toIndex).asList();
        }
    
        // The default List spliterator is not efficiently splittable
        @Override
        public Spliterator<Long> spliterator() {
          return parent.spliterator();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/archive/tar/writer.go

    			return err
    		}
    		defer f.Close()
    		_, err = io.Copy(tw, f)
    		return err
    	})
    }
    
    // splitUSTARPath splits a path according to USTAR prefix and suffix rules.
    // If the path is not splittable, then it will return ("", "", false).
    func splitUSTARPath(name string) (prefix, suffix string, ok bool) {
    	length := len(name)
    	if length <= nameSize || !isASCII(name) {
    		return "", "", false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top