Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for capval (0.11 sec)

  1. src/runtime/os_illumos.go

    			// cap (deny) action.
    			v := rctlblk_get_value(unsafe.Pointer(rblk))
    			if capval == 0 || capval > v {
    				capval = v
    			}
    		}
    
    		// Swap the blocks around so that we can fetch the next value
    		t := rblk
    		rblk = rblkprev
    		rblkprev = t
    		flag = _RCTL_NEXT
    	}
    
    	return capval
    }
    
    func getncpu() int32 {
    	n := int32(sysconf(__SC_NPROCESSORS_ONLN))
    	if n < 1 {
    		return 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 18:06:12 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go

    	nestedVal.AddField(flags)
    	nestedVal.AddField(dates)
    	nested := apiservercel.NewField(3, "nested")
    	nested.Ref = testValue(t, 4, nestedVal)
    	mapVal := apiservercel.NewMapValue()
    	mapVal.AddField(name)
    	mapVal.AddField(nested)
    	//rule := rt.ConvertToRule(testValue(t, 11, mapVal))
    	//if rule == nil {
    	//	t.Error("map could not be converted to rule")
    	//}
    	//if rule.GetID() != 11 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    0047          ; mapped                 ; 0067          # 1.1  LATIN CAPITAL LETTER G
    0048          ; mapped                 ; 0068          # 1.1  LATIN CAPITAL LETTER H
    0049          ; mapped                 ; 0069          # 1.1  LATIN CAPITAL LETTER I
    004A          ; mapped                 ; 006A          # 1.1  LATIN CAPITAL LETTER J
    004B          ; mapped                 ; 006B          # 1.1  LATIN CAPITAL LETTER K
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/cap_freebsd.go

    	return int(right >> 62)
    }
    
    func capver(rights *CapRights) int {
    	return caprver(rights.Rights[0])
    }
    
    func caparsize(rights *CapRights) int {
    	return capver(rights) + 2
    }
    
    // CapRightsSet sets the permissions in setrights in rights.
    func CapRightsSet(rights *CapRights, setrights []uint64) error {
    	// This is essentially a copy of cap_rights_vset()
    	if capver(rights) != CAP_RIGHTS_VERSION_00 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. operator/pkg/tpath/struct.go

    		if path[0] == "" {
    			return nil, false, fmt.Errorf("getFromStructPath path %s, empty map key value", path)
    		}
    		mapVal := val.MapIndex(reflect.ValueOf(path[0]))
    		if !mapVal.IsValid() {
    			return nil, false, fmt.Errorf("getFromStructPath path %s, path does not exist", path)
    		}
    		return getFromStructPath(mapVal.Interface(), path[1:])
    	case reflect.Slice:
    		idx, err := strconv.Atoi(path[0])
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  6. operator/pkg/translate/translate_test.go

    			assert.NoError(t, err)
    			val := obj.UnstructuredObject().Object["spec"].(map[string]interface{})["ports"].([]interface{})[0]
    			apVal, found, _ := tpath.GetFromStructPath(val, "appProtocol")
    			if !tt.expectExist {
    				assert.Equal(t, found, false)
    			} else {
    				if apVal != nil {
    					assert.Equal(t, apVal.(string), tt.expectValue)
    				} else {
    					assert.Equal(t, "", tt.expectValue)
    				}
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/cases/info.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cases
    
    func (c info) cccVal() info {
    	if c&exceptionBit != 0 {
    		return info(exceptions[c>>exceptionShift]) & cccMask
    	}
    	return c & cccMask
    }
    
    func (c info) cccType() info {
    	ccc := c.cccVal()
    	if ccc <= cccZero {
    		return cccZero
    	}
    	return ccc
    }
    
    // TODO: Implement full Unicode breaking algorithm:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/cases/map.go

    	// # Introduce an explicit dot above when lowercasing capital I's and J's
    	// # whenever there are more accents above.
    	// # (of the accents used in Lithuanian: grave, acute, tilde above, and ogonek)
    	// # 0049; 0069 0307; 0049; 0049; lt More_Above; # LATIN CAPITAL LETTER I
    	// # 004A; 006A 0307; 004A; 004A; lt More_Above; # LATIN CAPITAL LETTER J
    	// # 012E; 012F 0307; 012E; 012E; lt More_Above; # LATIN CAPITAL LETTER I WITH OGONEK
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. src/unicode/letter_test.go

    	{LowerCase, 0xA65F, 0xA65F},
    	{TitleCase, 0xA65F, 0xA65E},
    
    	// From another UpperLower sequence
    	// 0139;LATIN CAPITAL LETTER L WITH ACUTE;Lu;0;L;004C 0301;;;;N;LATIN CAPITAL LETTER L ACUTE;;;013A;
    	{UpperCase, 0x0139, 0x0139},
    	{LowerCase, 0x0139, 0x013A},
    	{TitleCase, 0x0139, 0x0139},
    	// 013F;LATIN CAPITAL LETTER L WITH MIDDLE DOT;Lu;0;L;<compat> 004C 00B7;;;;N;;;;0140;
    	{UpperCase, 0x013f, 0x013f},
    	{LowerCase, 0x013f, 0x0140},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  10. src/runtime/runtime-lldb_test.go

    		} else if !strings.Contains(string(out), "_developer") {
    			t.Skip("Not in _developer group")
    		}
    	}
    }
    
    const lldbHelloSource = `
    package main
    import "fmt"
    func main() {
    	mapvar := make(map[string]string,5)
    	mapvar["abc"] = "def"
    	mapvar["ghi"] = "jkl"
    	intvar := 42
    	ptrvar := &intvar
    	fmt.Println("hi") // line 10
    	_ = ptrvar
    }
    `
    
    const lldbScriptSource = `
    import sys
    sys.path.append(sys.argv[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top