Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 206 for iter2 (0.05 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

                SuggestItem mergedItem = item1;
                for (final SuggestItem item2 : items) {
                    if (item1.equals(item2)) {
                        continue;
                    }
    
                    final String item2Id = item2.getId();
                    if (item1Id.equals(item2Id)) {
                        mergedItem = SuggestItem.merge(mergedItem, item2);
                        mergedIdSet.add(item1Id);
                    }
                }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/internal/coverage/cmerge/merge_test.go

    		cgran         coverage.CounterGranularity
    		src, dst, res []uint32
    		iters         int
    		merr          bool
    		overflow      bool
    	}{
    		{
    			cmode:    coverage.CtrModeSet,
    			cgran:    coverage.CtrGranularityPerBlock,
    			src:      []uint32{1, 0, 1},
    			dst:      []uint32{1, 1, 0},
    			res:      []uint32{1, 1, 1},
    			iters:    2,
    			overflow: false,
    		},
    		{
    			cmode:    coverage.CtrModeCount,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. tests/test_dependency_duplicates.py

        return item
    
    
    def dependency(item2: Item):
        return item2
    
    
    def sub_duplicate_dependency(
        item: Item, sub_item: Item = Depends(duplicate_dependency)
    ):
        return [item, sub_item]
    
    
    @app.post("/with-duplicates")
    async def with_duplicates(item: Item, item2: Item = Depends(duplicate_dependency)):
        return [item, item2]
    
    
    @app.post("/no-duplicates")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. api/go1.23.txt

    pkg maps, func Collect[$0 comparable, $1 interface{}](iter.Seq2[$0, $1]) map[$0]$1 #61900
    pkg maps, func Insert[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0, iter.Seq2[$1, $2]) #61900
    pkg maps, func Keys[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$1] #61900
    pkg maps, func Values[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$2] #61900
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. internal/s3select/simdj/record.go

    	if elem == nil {
    		return nil, nil
    	}
    	return iterToValue(elem.Iter)
    }
    
    func iterToValue(iter simdjson.Iter) (*sql.Value, error) {
    	switch iter.Type() {
    	case simdjson.TypeString:
    		v, err := iter.String()
    		if err != nil {
    			return nil, err
    		}
    		return sql.FromString(v), nil
    	case simdjson.TypeFloat:
    		v, err := iter.Float()
    		if err != nil {
    			return nil, err
    		}
    		return sql.FromFloat(v), nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. test/fixedbugs/issue29919.dir/a.go

    		panic("missing a.init")
    	}
    
    	// Check the CallersFrames results.
    	if debug {
    		iter := runtime.CallersFrames(pcs[:n])
    		for {
    			f, more := iter.Next()
    			fmt.Printf("%s %s:%d\n", f.Function, f.File, f.Line)
    			if !more {
    				break
    			}
    		}
    	}
    	iter := runtime.CallersFrames(pcs[:n])
    	f, more := iter.Next()
    	if f.Function != "test/a.f" || !strings.HasSuffix(f.File, "a.go") || f.Line != 22 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/reproduciblebuilds_test.go

    	"testing"
    )
    
    func TestReproducibleBuilds(t *testing.T) {
    	tests := []string{
    		"issue20272.go",
    		"issue27013.go",
    		"issue30202.go",
    	}
    
    	testenv.MustHaveGoBuild(t)
    	iters := 10
    	if testing.Short() {
    		iters = 4
    	}
    	t.Parallel()
    	for _, test := range tests {
    		test := test
    		t.Run(test, func(t *testing.T) {
    			t.Parallel()
    			var want []byte
    			tmp, err := os.CreateTemp("", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. test/heapsampling.go

    		// Passed on first try, report no error.
    		return nil
    	}
    	allocInterleaved2(iters)
    	if checkAllocations(getMemProfileRecords(), frames[0:2], iters, allocInterleavedSizes) == nil {
    		// Passed on second try, report no error.
    		return nil
    	}
    	allocInterleaved3(iters)
    	// If it fails a third time, we may be onto something.
    	return checkAllocations(getMemProfileRecords(), frames[0:3], iters, allocInterleavedSizes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics_test.go

    				nil,
    				true,
    				gvk,
    				schemaValidator,
    				nil,
    				sts,
    				nil,
    				nil,
    				nil,
    			)
    
    			iters := 1
    			if tt.iters > 0 {
    				iters = tt.iters
    			}
    			for i := 0; i < iters; i++ {
    				_ = strategy.ValidateUpdate(context.TODO(), tt.obj, tt.old)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (1)
  10. src/encoding/gob/codec_test.go

    	}
    
    	item2 := InterfaceItem{}
    	err = NewDecoder(b).Decode(&item2)
    	if err != nil {
    		t.Fatal("decode:", err)
    	}
    	if item2.I != item1.I {
    		t.Error("normal int did not decode correctly")
    	}
    	if item2.Sq1 == nil || item2.Sq1.Square() != iVal.Square() {
    		t.Error("Int did not decode correctly")
    	}
    	if item2.Sq2 == nil || item2.Sq2.Square() != fVal.Square() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
Back to top