Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for id_map (0.1 sec)

  1. .github/workflows/tests.yml

          matrix:
            dbversion: [ 'v6.5.0' ]
            go: ['1.22', '1.21', '1.20']
            platform: [ ubuntu-latest ]
        runs-on: ${{ matrix.platform }}
    
        steps:
          - name: Setup TiDB
            uses: Icemap/tidb-action@main
            with:
              port: 9940
              version: ${{matrix.dbversion}}
    
          - name: Set up Go 1.x
            uses: actions/setup-go@v4
            with:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/tokens.go

    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    	_Goto        // goto
    	_If          // if
    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    	_Return      // return
    	_Select      // select
    	_Struct      // struct
    	_Switch      // switch
    	_Type        // type
    	_Var         // var
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        this?.takeIf { it.isNotEmpty() }
            ?.joinToString(separator = ", ", prefix = "<", postfix = ">", transform = transform)
            ?: ""
    
    
    private
    val ApiTypeUsage.isGroovyNamedArgumentMap
        get() = isMap && (
            typeArguments.all { it.isAny }
                || typeArguments.all { it.isStarProjectionTypeUsage }
                || (typeArguments[0].isString && (typeArguments[1].isStarProjectionTypeUsage || typeArguments[1].isAny))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 21:41:53 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  4. operator/pkg/tpath/struct.go

    }
    
    // Set sets out with the value at path from node. out is not set if the path doesn't exist or the value is nil.
    func Set(val, out any) error {
    	// Special case: map out type must be set through map ptr.
    	if util.IsMap(val) && util.IsMapPtr(out) {
    		reflect.ValueOf(out).Elem().Set(reflect.ValueOf(val))
    		return nil
    	}
    	if util.IsSlice(val) && util.IsSlicePtr(out) {
    		reflect.ValueOf(out).Elem().Set(reflect.ValueOf(val))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. src/cmd/vet/testdata/print/print.go

    	stringMap := map[string]string{"foo": "bar"}
    	fmt.Printf("%s", &stringMap) // not an error
    
    	intMap := map[int]int{3: 4}
    	fmt.Printf("%s", &intMap) // ERROR "Printf format %s has arg &intMap of wrong type \*map\[int\]int"
    
    	type T2 struct {
    		X string
    	}
    	type T1 struct {
    		X *T2
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  6. operator/pkg/tpath/tree.go

    		}
    		// TODO: The case of deleting a list.list.node element is not currently supported.
    		return fmt.Errorf("cannot delete path: unsupported parent.parent type %T for delete", nc.Parent.Parent.Node)
    	case util.IsMap(nc.Parent.Node):
    		return util.DeleteFromMap(nc.Parent.Node, nc.Parent.KeyToChild)
    	default:
    	}
    	return fmt.Errorf("cannot delete path: unsupported parent type %T for delete", nc.Parent.Node)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    	if !tag.FixCase(form, key) {
    		return 0, ErrSyntax
    	}
    	i := idx.Index(key)
    	if i == -1 {
    		return 0, NewValueError(key)
    	}
    	return i, nil
    }
    
    func searchUint(imap []uint16, key uint16) int {
    	return sort.Search(len(imap), func(i int) bool {
    		return imap[i] >= key
    	})
    }
    
    type Language uint16
    
    // getLangID returns the langID of s if s is a canonical subtag
    // or langUnknown if s is not a canonical subtag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/encoding/gob/encoder_test.go

    			}
    		}
    	}()
    
    	encodeErr = NewEncoder(io.Discard).Encode(value)
    	return
    }
    
    func TestNilPointerPanics(t *testing.T) {
    	var (
    		nilStringPtr      *string
    		intMap            = make(map[int]int)
    		intMapPtr         = &intMap
    		nilIntMapPtr      *map[int]int
    		zero              int
    		nilBoolChannel    chan bool
    		nilBoolChannelPtr *chan bool
    		nilStringSlice    []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		// DeleteOptions does not have these fields.
    		delete(inMap, "fieldManager")
    		delete(inMap, "fieldValidation")
    
    		// UpdateOptions does not have these fields.
    		delete(outMap, "gracePeriodSeconds")
    		delete(outMap, "preconditions")
    		delete(outMap, "orphanDependents")
    		delete(outMap, "propagationPolicy")
    
    		// Compare the results.
    		inBytes, err = json.Marshal(inMap)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    }
    
    // GetDisksID will return disks by their ID.
    func (z *erasureServerPools) GetDisksID(ids ...string) []StorageAPI {
    	idMap := make(map[string]struct{})
    	for _, id := range ids {
    		idMap[id] = struct{}{}
    	}
    	res := make([]StorageAPI, 0, len(idMap))
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
Back to top