Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for stringData (0.21 sec)

  1. src/cmd/cgo/gcc.go

    		return true
    	}
    	return false
    }
    
    // isUnsafeData reports whether the expression is unsafe.StringData
    // or unsafe.SliceData. We can ignore these when checking for pointers
    // because they don't change whether or not their argument contains
    // any Go pointers. If onlyStringData is true we only check for StringData.
    func (p *Package) isUnsafeData(x ast.Expr, onlyStringData bool) bool {
    	st, ok := x.(*ast.SelectorExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/fmt.go

    	OSWITCH:           "switch",
    	OUNSAFEADD:        "unsafe.Add",
    	OUNSAFESLICE:      "unsafe.Slice",
    	OUNSAFESLICEDATA:  "unsafe.SliceData",
    	OUNSAFESTRING:     "unsafe.String",
    	OUNSAFESTRINGDATA: "unsafe.StringData",
    	OXOR:              "^",
    }
    
    // GoString returns the Go syntax for the Op, or else its name.
    func (o Op) GoString() string {
    	if int(o) < len(OpNames) && OpNames[o] != "" {
    		return OpNames[o]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  3. src/os/file.go

    	}
    	return r, nil
    }
    
    // WriteString is like Write, but writes the contents of string s rather than
    // a slice of bytes.
    func (f *File) WriteString(s string) (n int, err error) {
    	b := unsafe.Slice(unsafe.StringData(s), len(s))
    	return f.Write(b)
    }
    
    // Mkdir creates a new directory with the specified name and permission
    // bits (before umask).
    // If there is an error, it will be of type *PathError.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    	}
    }
    
    type TraceMap struct {
    	traceMap
    }
    
    func (m *TraceMap) PutString(s string) (uint64, bool) {
    	return m.traceMap.put(unsafe.Pointer(unsafe.StringData(s)), uintptr(len(s)))
    }
    
    func (m *TraceMap) Reset() {
    	m.traceMap.reset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    				(*out)[key] = nil
    			} else {
    				in, out := &val, &outVal
    				*out = make([]byte, len(*in))
    				copy(*out, *in)
    			}
    			(*out)[key] = outVal
    		}
    	}
    	if in.StringData != nil {
    		in, out := &in.StringData, &out.StringData
    		*out = make(map[string]string, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/generic.rules

    (ConstString {str}) && config.PtrSize == 4 && str != "" =>
      (StringMake
        (Addr <typ.BytePtr> {fe.StringData(str)}
          (SB))
        (Const32 <typ.Int> [int32(len(str))]))
    (ConstString {str}) && config.PtrSize == 8 && str != "" =>
      (StringMake
        (Addr <typ.BytePtr> {fe.StringData(str)}
          (SB))
        (Const64 <typ.Int> [int64(len(str))]))
    
    // slice ops
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

            },
            "stringData": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  8. doc/go_spec.html

    [<a href="#Go_1.20">Go 1.20</a>]
    </p>
    
    <p>
    The function <code>StringData</code> returns a pointer to the underlying bytes of the <code>str</code> argument.
    For an empty string the return value is unspecified, and may be <code>nil</code>.
    Since Go strings are immutable, the bytes returned by <code>StringData</code> must not be modified
    [<a href="#Go_1.20">Go 1.20</a>].
    </p>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/types.go

    	// stringData allows specifying non-binary secret data in string form.
    	// It is provided as a write-only input field for convenience.
    	// All keys and values are merged into the data field on write, overwriting any existing values.
    	// The stringData field is never output when reading from the API.
    	// +k8s:conversion-gen=false
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      map<string, bytes> data = 2;
    
      // stringData allows specifying non-binary secret data in string form.
      // It is provided as a write-only input field for convenience.
      // All keys and values are merged into the data field on write, overwriting any existing values.
      // The stringData field is never output when reading from the API.
      // +k8s:conversion-gen=false
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
Back to top