Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 122 for clobber (0.18 sec)

  1. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        /**
         * Constructs a new iterator over all values for the specified key starting at the specified
         * index. This constructor is optimized so that it starts at either the head or the tail,
         * depending on which is closer to the specified index. This allows adds to the tail to be done
         * in constant time.
         *
         * @throws IndexOutOfBoundsException if index is invalid
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  2. src/runtime/crash_test.go

    	needle := "yzzyx\n"
    	if n := strings.Count(errOut.String(), needle); n != 1 {
    		t.Fatalf("did not find expected panic message %q\n(exit status %v)", needle, err)
    	}
    }
    
    // Test that panic message is not clobbered.
    // See issue 30150.
    func TestDoublePanic(t *testing.T) {
    	output := runTestProg(t, "testprog", "DoublePanic", "GODEBUG=clobberfree=1")
    	wants := []string{"panic: XXX", "panic: YYY"}
    	for _, want := range wants {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. src/runtime/chan_test.go

    			for v := range q {
    				// mess with the fifo-ish nature of range
    				if pn[w%len(pn)] == v {
    					runtime.Gosched()
    				}
    				r <- v
    			}
    			wg.Done()
    		}(i)
    	}
    
    	// feeder & closer
    	expect := 0
    	go func() {
    		for i := 0; i < niter; i++ {
    			v := pn[i%len(pn)]
    			expect += v
    			q <- v
    		}
    		close(q)  // no more work
    		wg.Wait() // workers done
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/transform/transform.go

    				// sizes during testing.
    				continue
    			}
    		case nil:
    			if w.n > 0 {
    				err = errInconsistentByteCount
    			}
    		}
    		return n, err
    	}
    }
    
    // Close implements the io.Closer interface.
    func (w *Writer) Close() error {
    	src := w.src[:w.n]
    	for {
    		nDst, nSrc, err := w.t.Transform(w.dst, src, true)
    		if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
    			return werr
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/cache/cache.go

    	cache.run(logger)
    	return cache
    }
    
    // nodeInfoListItem holds a NodeInfo pointer and acts as an item in a doubly
    // linked list. When a NodeInfo is updated, it goes to the head of the list.
    // The items closer to the head are the most recently updated items.
    type nodeInfoListItem struct {
    	info *framework.NodeInfo
    	next *nodeInfoListItem
    	prev *nodeInfoListItem
    }
    
    type cacheImpl struct {
    	stop   <-chan struct{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  6. src/net/http/response_test.go

    	}
    }
    
    var readResponseCloseInMiddleTests = []struct {
    	chunked, compressed bool
    }{
    	{false, false},
    	{true, false},
    	{true, true},
    }
    
    type readerAndCloser struct {
    	io.Reader
    	io.Closer
    }
    
    // TestReadResponseCloseInMiddle tests that closing a body after
    // reading only part of its contents advances the read to the end of
    // the request, right up until the next request.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. docs/en/docs/alternatives.md

    Routes are declared in a single place, using functions declared in other places (instead of using decorators that can be placed right on top of the function that handles the endpoint). This is closer to how Django does it than to how Flask (and Starlette) does it. It separates in the code things that are relatively tightly coupled.
    
    !!! check "Inspired **FastAPI** to"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/language/match.go

    //     occur concurrently. As a consequence, they are identical for practical
    //     purposes.
    // [4] In case of deprecated, macro-equivalents and legacy mappings, we assign
    //     the MaxExact level to allow iw vs he to still be a closer match than
    //     en-AU vs en-US, for example.
    // [5] In CLDR a locale inherits fields that are unspecified for this locale
    //     from its parent. Therefore, if a locale is a parent of another locale,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    And as you can have parallelism and asynchronicity at the same time, you get higher performance than most of the tested NodeJS frameworks and on par with Go, which is a compiled language closer to C <a href="https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1" class="external-link" target="_blank">(all thanks to Starlette)</a>.
    
    ### Is concurrency better than parallelism?
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

                                const mlir::SetVector<Operation*>& ops_to_avoid,
                                bool predecessors, bool successors) {
      // Walk the input and output dependencies of the Ops in `operations` to form
      // the closer of Ops needed to evaluate 'operations'. Input dependencies are
      // walked if 'predecessors' is true and output dependencies are walked if
      // 'successors' is true. In either case, if a discoverd Op is in the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top