Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for marshalers (0.24 sec)

  1. src/html/template/escape_test.go

    	return []byte(`{ "<foo>": "O'Reilly" }`), nil
    }
    
    func TestEscape(t *testing.T) {
    	data := struct {
    		F, T       bool
    		C, G, H, I string
    		A, E       []string
    		B, M       json.Marshaler
    		N          int
    		U          any  // untyped nil
    		Z          *int // typed nil
    		W          HTML
    	}{
    		F: false,
    		T: true,
    		C: "<Cincinnati>",
    		G: "<Goodbye>",
    		H: "<Hello>",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    				bts, err = tmp.unmarshalV(1, bts)
    				if err != nil {
    					return msgp.WrapError(err, "Versions", za0001)
    				}
    				end := len(allMeta) - len(bts)
    				// We reference the marshaled data, so we don't have to re-marshal.
    				x.versions[za0001] = xlMetaV2ShallowVersion{
    					header: tmp.header(),
    					meta:   allMeta[start:end],
    				}
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // - All: all dry run stages will be processed
      // +optional
      repeated string dryRun = 5;
    }
    
    // Duration is a wrapper around time.Duration which supports correct
    // marshaling to YAML and JSON. In particular, it marshals into strings, which
    // can be used as map keys in json.
    message Duration {
      optional int64 duration = 1;
    }
    
    // FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // +optional
      // +listType=atomic
      repeated string dryRun = 5;
    }
    
    // Duration is a wrapper around time.Duration which supports correct
    // marshaling to YAML and JSON. In particular, it marshals into strings, which
    // can be used as map keys in json.
    message Duration {
      optional int64 duration = 1;
    }
    
    // FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context.go

    		}
    		ps.ServiceIndex.instancesByPort[svcKey][port] = append(ps.ServiceIndex.instancesByPort[svcKey][port], inst...)
    	}
    }
    
    // StatusJSON implements json.Marshaller, with a lock.
    func (ps *PushContext) StatusJSON() ([]byte, error) {
    	if ps == nil {
    		return []byte{'{', '}'}, nil
    	}
    	ps.proxyStatusMutex.RLock()
    	defer ps.proxyStatusMutex.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top