Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 149 for subscript (0.2 sec)

  1. pkg/apis/core/pods/helpers.go

    		switch path {
    		case "metadata.annotations", "metadata.labels":
    			return label, value, nil
    		default:
    			return "", "", fmt.Errorf("field label does not support subscript: %s", label)
    		}
    	}
    
    	switch label {
    	case "metadata.annotations",
    		"metadata.labels",
    		"metadata.name",
    		"metadata.namespace",
    		"metadata.uid",
    		"spec.nodeName",
    		"spec.restartPolicy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:35:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/instantiate_test.go

    		t.Errorf("instantiated %q, want %q", got, want)
    	}
    }
    
    // Copied from errors.go.
    func stripAnnotations(s string) string {
    	var buf strings.Builder
    	for _, r := range s {
    		// strip #'s and subscript digits
    		if r < '₀' || '₀'+10 <= r { // '₀' == U+2080
    			buf.WriteRune(r)
    		}
    	}
    	if buf.Len() < len(s) {
    		return buf.String()
    	}
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2080          ; mapped                 ; 0030          # 1.1  SUBSCRIPT ZERO
    2081          ; mapped                 ; 0031          # 1.1  SUBSCRIPT ONE
    2082          ; mapped                 ; 0032          # 1.1  SUBSCRIPT TWO
    2083          ; mapped                 ; 0033          # 1.1  SUBSCRIPT THREE
    2084          ; mapped                 ; 0034          # 1.1  SUBSCRIPT FOUR
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  4. src/go/types/instantiate_test.go

    		t.Errorf("instantiated %q, want %q", got, want)
    	}
    }
    
    // Copied from errors.go.
    func stripAnnotations(s string) string {
    	var buf strings.Builder
    	for _, r := range s {
    		// strip #'s and subscript digits
    		if r < '₀' || '₀'+10 <= r { // '₀' == U+2080
    			buf.WriteRune(r)
    		}
    	}
    	if buf.Len() < len(s) {
    		return buf.String()
    	}
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/math/big/prime.go

    	// In general V(k) = α^k + β^k, where α and β are roots of x² - Px + Q.
    	// Crandall and Pomerance (p.147) observe that for 0 ≤ j ≤ k,
    	//
    	//	V(j+k) = V(j)V(k) - V(k-j).
    	//
    	// So in particular, to quickly double the subscript:
    	//
    	//	V(2k) = V(k)² - 2
    	//	V(2k+1) = V(k) V(k+1) - P
    	//
    	// We can therefore start with k=0 and build up to k=s in log₂(s) steps.
    	natP := nat(nil).setWord(p)
    	vk := nat(nil).setWord(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/cc_op_gen.cc

                           "  operator ::tensorflow::Operation() const { "
                           "return operation; }\n");
      } else if (op_info.output_types.size() == 1) {
        if (op_info.is_list_output[0]) {
          // Write the subscript operator, allowing out[i] for the list-typed
          // output.
          strings::StrAppend(&class_decl,
                             "  ::tensorflow::Output operator[](size_t index) "
                             "const { return ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api.go

    func (err Error) Error() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Msg)
    }
    
    // FullError returns an error string like Error, buy it may contain
    // type-checker internal details such as subscript indices for type
    // parameters and more. Useful for debugging.
    func (err Error) FullError() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Full)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/iimport.go

    		declData: declData,
    		pkgIndex: make(map[*types.Package]map[string]uint64),
    		typCache: make(map[uint64]types.Type),
    		// Separate map for typeparams, keyed by their package and unique
    		// name (name with subscript).
    		tparamIndex: make(map[ident]*types.TypeParam),
    
    		fake: fakeFileSet{
    			fset:  fset,
    			files: make(map[string]*fileInfo),
    		},
    	}
    	defer p.fake.setLines() // set lines for files in fset
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/map.go

    		c.writeBytes(b[:sz])
    		i = len(b[sz:]) / 2 // Greek modifiers are always of length 2.
    	}
    
    	for ; i < maxIgnorable && c.next(); i++ {
    		switch r, _ := utf8.DecodeRune(c.src[c.pSrc:]); r {
    		// Above and Iota Subscript
    		case 0x0300, // U+0300 COMBINING GRAVE ACCENT
    			0x0301, // U+0301 COMBINING ACUTE ACCENT
    			0x0304, // U+0304 COMBINING MACRON
    			0x0306, // U+0306 COMBINING BREVE
    			0x0308, // U+0308 COMBINING DIAERESIS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    								APIVersion: "v1",
    								FieldPath:  "metadata.labels",
    							},
    						}, {
    							Path: "labels with subscript",
    							FieldRef: &core.ObjectFieldSelector{
    								APIVersion: "v1",
    								FieldPath:  "metadata.labels['key']",
    							},
    						}, {
    							Path: "labels with complex subscript",
    							FieldRef: &core.ObjectFieldSelector{
    								APIVersion: "v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top