Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for addstr2 (0.23 sec)

  1. pkg/config/analysis/analyzers/multicluster_analyzers_test.go

    	sa := local.NewIstiodAnalyzer(AllMultiClusterCombined(), "", "istio-system", cr)
    
    	// Add the test files to the fake client
    	if err := addStore(sa, "cluster1", tc.cluster1InputFiles); err != nil {
    		return nil, err
    	}
    	if err := addStore(sa, "cluster2", tc.cluster2InputFiles); err != nil {
    		return nil, err
    	}
    
    	// Include default resources
    	if err := sa.AddDefaultResources(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/runtime/pprof/protomem_test.go

    	"testing"
    )
    
    func TestConvertMemProfile(t *testing.T) {
    	addr1, addr2, map1, map2 := testPCs(t)
    
    	// MemProfileRecord stacks are return PCs, so add one to the
    	// addresses recorded in the "profile". The proto profile
    	// locations are call PCs, so conversion will subtract one
    	// from these and get back to addr1 and addr2.
    	a1, a2 := uintptr(addr1)+1, uintptr(addr2)+1
    	rate := int64(512 * 1024)
    	rec := []profilerecord.MemProfileRecord{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/runtime/pprof/proto_test.go

    		map1, map2 = fake, fake
    	}
    	return
    }
    
    func TestConvertCPUProfile(t *testing.T) {
    	addr1, addr2, map1, map2 := testPCs(t)
    
    	b := []uint64{
    		3, 0, 500, // hz = 500
    		5, 0, 10, uint64(addr1 + 1), uint64(addr1 + 2), // 10 samples in addr1
    		5, 0, 40, uint64(addr2 + 1), uint64(addr2 + 2), // 40 samples in addr2
    		5, 0, 10, uint64(addr1 + 1), uint64(addr1 + 2), // 10 samples in addr1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. src/net/resolverdialfunc_test.go

    				w.AddIP([16]byte{1: 1, 15: 15})
    				w.AddIP([16]byte{2: 2, 14: 14})
    				return nil
    			},
    			HandleSRV: func(w SRVWriter, name string) error {
    				w.AddSRV(1, 2, 80, "foo.bar.")
    				w.AddSRV(2, 3, 81, "bar.baz.")
    				return nil
    			},
    		}),
    	}
    	ctx := context.Background()
    	const fakeDomain = "something-that-is-a-not-a-real-domain.fake-tld."
    
    	t.Run("LookupIP", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            }
            this.limitOfDocumentSize = limitOfDocumentSize;
        }
    
        public void setQuery(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
        }
    
        public void addSort(final SortBuilder<?> sortBuilder) {
            this.sortList.add(sortBuilder);
        }
    
        public void setLimitDocNumPercentage(final String limitPercentage) {
            if (logger.isInfoEnabled()) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/reflect/deepequal.go

    			default:
    				return v.ptr
    			}
    		}
    		addr1 := ptrval(v1)
    		addr2 := ptrval(v2)
    		if uintptr(addr1) > uintptr(addr2) {
    			// Canonicalize order to reduce number of entries in visited.
    			// Assumes non-moving garbage collector.
    			addr1, addr2 = addr2, addr1
    		}
    
    		// Short circuit if references are already seen.
    		typ := v1.Type()
    		v := visit{addr1, addr2, typ}
    		if visited[v] {
    			return true
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("addr1", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("addr2", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("addr3", OpAddr, ptrType, 0, nil, "sb"),
    			Valu("zero1", OpZero, types.TypeMem, 1, c.config.Types.Bool, "addr3", "start"),
    			Valu("store1", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "zero1"),
    			Valu("store2", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr2", "v", "store1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            int num = 10000;
    
            addDocument(indexName, client, num);
    
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
            reader.setScrollSize(1000);
            reader.addSort(SortBuilders.fieldSort("field2"));
            int count = 0;
            int prev = -1;
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/staticinit/sched.go

    		case ir.OCONV:
    			x := x.(*ir.ConvExpr)
    			if x.X.Op() == ir.OLITERAL {
    				if x, ok := truncate(x.X, x.Type()); ok {
    					return x
    				}
    				valid = false
    				return x
    			}
    		case ir.OADDSTR:
    			return addStr(x.(*ir.AddStringExpr))
    		}
    		return x
    	}
    	n = edit(n)
    	return n, valid
    }
    
    // truncate returns the result of force converting c to type t,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. src/net/tcpsock_posix.go

    	// TCP has a rarely used mechanism called a 'simultaneous connection' in
    	// which Dial("tcp", addr1, addr2) run on the machine at addr1 can
    	// connect to a simultaneous Dial("tcp", addr2, addr1) run on the machine
    	// at addr2, without either machine executing Listen. If laddr == nil,
    	// it means we want the kernel to pick an appropriate originating local
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top