Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 133 for index (0.04 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    }
    
    // read8 reads one byte from the read-only global sym at offset off.
    func read8(sym interface{}, off int64) uint8 {
    	lsym := sym.(*obj.LSym)
    	if off >= int64(len(lsym.P)) || off < 0 {
    		// Invalid index into the global sym.
    		// This can happen in dead code, so we don't want to panic.
    		// Just return any value, it will eventually get ignored.
    		// See issue 29215.
    		return 0
    	}
    	return lsym.P[off]
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    	if !m.IsLocal() {
    		panic(fmt.Sprintf("internal error: resolveLocalDirs on non-local pattern %s", m.Pattern()))
    	}
    
    	if i := strings.Index(m.Pattern(), "..."); i >= 0 {
    		// The pattern is local, but it is a wildcard. Its packages will
    		// only resolve to paths if they are inside of the standard
    		// library, the main module, or some dependency of the main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/cache/cache_test.go

    			for node := cache.headNode; node != nil; node = node.next {
    				if node.info.Node() != nil && node.info.Node().Name != test.expected[i].Name {
    					t.Errorf("unexpected node. Expected: %v, got: %v, index: %v", test.expected[i].Name, node.info.Node().Name, i)
    				}
    				i++
    			}
    			// Make sure we visited all the cached nodes in the above for loop.
    			if i != len(cache.nodes) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "GEnoov", controls: 1}, // 'GE' but without honoring overflow
    
    		// JUMPTABLE implements jump tables.
    		// Aux is the symbol (an *obj.LSym) for the jump table.
    		// control[0] is the index into the jump table.
    		// control[1] is the address of the jump table (the address of the symbol stored in Aux).
    		{name: "JUMPTABLE", controls: 2, aux: "Sym"},
    	}
    
    	archs = append(archs, arch{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/expr.go

    	check.exclude(x, 1<<novalue|1<<builtin|1<<typexpr)
    	check.singleValue(x)
    }
    
    // multiExpr typechecks e and returns its value (or values) in list.
    // If allowCommaOk is set and e is a map index, comma-ok, or comma-err
    // expression, the result is a two-element list containing the value
    // of e, and an untyped bool value or an error value, respectively.
    // If an error occurred, list[0] is not valid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  6. plugin/pkg/admission/resourcequota/admission_test.go

    	handler, err := createHandler(kubeClient, informerFactory, stopCh)
    	if err != nil {
    		t.Errorf("Error occurred while creating admission plugin: %v", err)
    	}
    
    	// Add to the index
    	informerFactory.Core().V1().ResourceQuotas().Informer().GetIndexer().Add(resourceQuota)
    	newPod := validPod("allowed-pod", 1, getResourceRequirements(getResourceList("100m", "2Gi"), getResourceList("200m", "")))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ppc64/asm.go

    	glink.AddUint32(ctxt.Arch, OP_BCL_NIA) // bcl 20,31,1f
    	glink.AddUint32(ctxt.Arch, 0x7d6802a6) // 1: mflr r11
    	glink.AddUint32(ctxt.Arch, OP_MTLR_R0) // mtlr r0
    
    	// Compute the .plt array index from the entry point address
    	// into r0. This is computed relative to label 1 above.
    	glink.AddUint32(ctxt.Arch, 0x38000000) // li r0,-(res_0-1b)
    	glink.AddUint32(ctxt.Arch, 0x7c006214) // add r0,r0,r12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	ErasureSetsTestStr string = "ErasureSet"
    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_test.go

    			} else {
    				for i := range defaultCipherSuitesTLS13NoAES {
    					if want, got := defaultCipherSuitesTLS13NoAES[i], chi.CipherSuites[i]; want != got {
    						t.Errorf("cipher at index %d does not match, want=%x, got=%x", i, want, got)
    					}
    				}
    			}
    			return nil, nil
    		},
    	}
    	clientConfig := &Config{
    		MinVersion:         VersionTLS13, // client only supports TLS 1.3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof_test.go

    				recursionFunc++
    			}
    		}
    		if recursionFunc > 1 {
    			t.Fatalf("want at most one recursionCaller or recursionCallee in one Location, got a violating Location (index: %d):\n%v", i, p)
    		}
    	}
    }
    
    func recursionCaller(x int) int {
    	y := recursionCallee(3, x)
    	return y
    }
    
    func recursionCallee(n, x int) int {
    	if n == 0 {
    		return 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top