Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for decodeValue (0.22 sec)

  1. src/encoding/gob/decoder.go

    // If v is the zero reflect.Value (v.Kind() == Invalid), DecodeValue discards the value.
    // Otherwise, it stores the value into v. In that case, v must represent
    // a non-nil pointer to data or be an assignable reflect.Value (v.CanSet())
    // If the input is at EOF, DecodeValue returns [io.EOF] and
    // does not modify v.
    func (dec *Decoder) DecodeValue(v reflect.Value) error {
    	if v.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

                }
            }
        }
    
        suspend fun ReadContext.decodeProvider(): ProviderInternal<*> {
            return decodeValue().toProvider()
        }
    
        suspend fun ReadContext.decodeValue(): ValueSupplier.ExecutionTimeValue<*> =
            when (readByte()) {
                1.toByte() -> ValueSupplier.ExecutionTimeValue.missing<Any>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/encoding/gob/decode.go

    			*enginePtr = dec.compileIgnoreSingle(wireId)
    		}
    		if err != nil {
    			delete(dec.ignorerCache, wireId)
    		}
    	}
    	return
    }
    
    // decodeValue decodes the data stream representing a value and stores it in value.
    func (dec *Decoder) decodeValue(wireId typeId, value reflect.Value) {
    	defer catchError(&dec.err)
    	// If the value is nil, it means we should just ignore this item.
    	if !value.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug.go

    	}
    
    	// Re-read list, translating its address from block/value ID to PC.
    	for i := 0; i < len(list); {
    		begin := getPC(decodeValue(ctxt, readPtr(ctxt, list[i:])))
    		end := getPC(decodeValue(ctxt, readPtr(ctxt, list[i+ctxt.Arch.PtrSize:])))
    
    		// Horrible hack. If a range contains only zero-width
    		// instructions, e.g. an Arg, and it's at the beginning of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Reader.TrimLeadingSpace", Field, 0},
    		{"Writer", Type, 0},
    		{"Writer.Comma", Field, 0},
    		{"Writer.UseCRLF", Field, 0},
    	},
    	"encoding/gob": {
    		{"(*Decoder).Decode", Method, 0},
    		{"(*Decoder).DecodeValue", Method, 0},
    		{"(*Encoder).Encode", Method, 0},
    		{"(*Encoder).EncodeValue", Method, 0},
    		{"CommonType", Type, 0},
    		{"CommonType.Id", Field, 0},
    		{"CommonType.Name", Field, 0},
    		{"Decoder", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg encoding/gob, func Register(interface{})
    pkg encoding/gob, func RegisterName(string, interface{})
    pkg encoding/gob, method (*Decoder) Decode(interface{}) error
    pkg encoding/gob, method (*Decoder) DecodeValue(reflect.Value) error
    pkg encoding/gob, method (*Encoder) Encode(interface{}) error
    pkg encoding/gob, method (*Encoder) EncodeValue(reflect.Value) error
    pkg encoding/gob, type CommonType struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top