Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for nullbyte (0.21 sec)

  1. api/go1.17.txt

    pkg database/sql, method (*NullByte) Scan(interface{}) error
    pkg database/sql, method (*NullInt16) Scan(interface{}) error
    pkg database/sql, method (NullByte) Value() (driver.Value, error)
    pkg database/sql, method (NullInt16) Value() (driver.Value, error)
    pkg database/sql, type NullByte struct
    pkg database/sql, type NullByte struct, Byte uint8
    pkg database/sql, type NullByte struct, Valid bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    }
    
    func TestNullByteParam(t *testing.T) {
    	spec := nullTestSpec{"nullbyte", "byte", [6]nullTestRow{
    		{NullByte{31, true}, 1, NullByte{31, true}},
    		{NullByte{0, false}, 1, NullByte{0, false}},
    		{22, 1, NullByte{22, true}},
    		{NullByte{33, true}, 1, NullByte{33, true}},
    		{NullByte{222, false}, 1, NullByte{0, false}},
    		{0, NullByte{31, false}, nil},
    	}}
    	nullTestRun(t, spec)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. src/database/sql/sql.go

    	}
    	return int64(n.Int16), nil
    }
    
    // NullByte represents a byte that may be null.
    // NullByte implements the [Scanner] interface so
    // it can be used as a scan destination, similar to [NullString].
    type NullByte struct {
    	Byte  byte
    	Valid bool // Valid is true if Byte is not NULL
    }
    
    // Scan implements the [Scanner] interface.
    func (n *NullByte) Scan(value any) error {
    	if value == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  4. src/database/sql/fakedb_test.go

    	case "nullbool":
    		return driver.Null{Converter: driver.Bool}
    	case "byte", "int16":
    		return driver.NotNull{Converter: driver.DefaultParameterConverter}
    	case "int32":
    		return driver.Int32
    	case "nullbyte", "nullint32", "nullint16":
    		return driver.Null{Converter: driver.DefaultParameterConverter}
    	case "string":
    		return driver.NotNull{Converter: fakeDriverString{}}
    	case "nullstring":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Null", Type, 22},
    		{"Null.V", Field, 22},
    		{"Null.Valid", Field, 22},
    		{"NullBool", Type, 0},
    		{"NullBool.Bool", Field, 0},
    		{"NullBool.Valid", Field, 0},
    		{"NullByte", Type, 17},
    		{"NullByte.Byte", Field, 17},
    		{"NullByte.Valid", Field, 17},
    		{"NullFloat64", Type, 0},
    		{"NullFloat64.Float64", Field, 0},
    		{"NullFloat64.Valid", Field, 0},
    		{"NullInt16", Type, 17},
    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. src/crypto/x509/x509.go

    	// default value.
    	if (len(params.Hash.Parameters.FullBytes) != 0 && !bytes.Equal(params.Hash.Parameters.FullBytes, asn1.NullBytes)) ||
    		!params.MGF.Algorithm.Equal(oidMGF1) ||
    		!mgf1HashFunc.Algorithm.Equal(params.Hash.Algorithm) ||
    		(len(mgf1HashFunc.Parameters.FullBytes) != 0 && !bytes.Equal(mgf1HashFunc.Parameters.FullBytes, asn1.NullBytes)) ||
    		params.TrailerField != 1 {
    		return UnknownSignatureAlgorithm
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  7. src/crypto/x509/pkcs8.go

    			return nil, errors.New("x509: failed to parse RSA private key embedded in PKCS#8: " + err.Error())
    		}
    		return key, nil
    
    	case privKey.Algo.Algorithm.Equal(oidPublicKeyECDSA):
    		bytes := privKey.Algo.Parameters.FullBytes
    		namedCurveOID := new(asn1.ObjectIdentifier)
    		if _, err := asn1.Unmarshal(bytes, namedCurveOID); err != nil {
    			namedCurveOID = nil
    		}
    		key, err = parseECPrivateKey(namedCurveOID, privKey.PrivateKey)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataType.kt

     */
    
    package org.gradle.declarative.dsl.schema
    
    import org.gradle.tooling.ToolingModelContract
    import java.io.Serializable
    
    
    @ToolingModelContract(subTypes = [
        DataType.NullType::class,
        DataType.UnitType::class,
        DataType.ConstantType::class,
        DataType.IntDataType::class,
        DataType.LongDataType::class,
        DataType.StringDataType::class,
        DataType.BooleanDataType::class,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/utils.kt

        is DataType.IntDataType -> right is DataType.IntDataType
        is DataType.LongDataType -> right is DataType.LongDataType
        is DataType.StringDataType -> right is DataType.StringDataType
        is DataType.NullType -> right is DataType.NullType
        is DataType.UnitType -> right is DataType.UnitType
    }
    
    
    internal
    fun TypeRefContext.getDataType(objectOrigin: ObjectOrigin): DataType = when (objectOrigin) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/encoding/asn1/asn1_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(NullBytes, marshaled) {
    		t.Errorf("Expected Marshal of NullRawValue to yield %x, got %x", NullBytes, marshaled)
    	}
    
    	unmarshaled := RawValue{}
    	if _, err := Unmarshal(NullBytes, &unmarshaled); err != nil {
    		t.Fatal(err)
    	}
    
    	unmarshaled.FullBytes = NullRawValue.FullBytes
    	if len(unmarshaled.Bytes) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
Back to top