Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for K2 (0.09 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"optional.ofNonZeroValue(duration('0s')) == optional.none()",
    
    				"{?'k': optional.none(), 'k2': 'v2'} == {'k2': 'v2'}",
    				"{?'k': optional.of('v'), 'k2': 'v2'} == {'k': 'v', 'k2': 'v2'}",
    				"['a', ?optional.none(), 'c'] == ['a', 'c']",
    				"['a', ?optional.of('v'), 'c'] == ['a', 'v', 'c']",
    			},
    			errors: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  2. src/runtime/map.go

    				if b.tophash[i] == emptyRest {
    					break search
    				}
    				continue
    			}
    			k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
    			k2 := k
    			if t.IndirectKey() {
    				k2 = *((*unsafe.Pointer)(k2))
    			}
    			if !t.Key.Equal(key, k2) {
    				continue
    			}
    			// Only clear key if there are pointers in it.
    			if t.IndirectKey() {
    				*(*unsafe.Pointer)(k) = nil
    			} else if t.Key.Pointers() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. src/log/slog/value.go

    }
    
    //////////////// Other
    
    // Equal reports whether v and w represent the same Go value.
    func (v Value) Equal(w Value) bool {
    	k1 := v.Kind()
    	k2 := w.Kind()
    	if k1 != k2 {
    		return false
    	}
    	switch k1 {
    	case KindInt64, KindUint64, KindBool, KindDuration:
    		return v.num == w.num
    	case KindString:
    		return v.str() == w.str()
    	case KindFloat64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       * to the set.
       *
       * <p><b>Warning:</b> This method assumes that for any instance {@code k} of key type {@code K},
       * {@code k.equals(k2)} implies that {@code k2} is also of type {@code K}. Using a key type for
       * which this may not hold, such as {@code ArrayList}, may risk a {@code ClassCastException} when
       * calling methods on the resulting map view.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho.go

    		}
    	}
    	collectmachosyms(ctxt)
    	sort.Slice(sortsym[:nsortsym], func(i, j int) bool {
    		s1 := sortsym[i]
    		s2 := sortsym[j]
    		k1 := symkind(ldr, s1)
    		k2 := symkind(ldr, s2)
    		if k1 != k2 {
    			return k1 < k2
    		}
    		return ldr.SymExtname(s1) < ldr.SymExtname(s2) // Note: unnamed symbols are not added in collectmachosyms
    	})
    	for i, s := range sortsym {
    		ldr.SetSymDynid(s, int32(i))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                    if (firDefaultStatement.resolvedType.isUnit) {
                        return null
                    }
                }
            }
    
            @Suppress("USELESS_IS_CHECK") // K2 warning suppression, TODO: KT-62472
            require(firDefaultStatement is FirExpression)
    
            val defaultStatementFromFir = firDefaultStatement.psi as? KtExpression ?: return null
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. internal/config/config.go

    	}
    
    	if len(subSystemValue) == 2 {
    		tgt = subSystemValue[1]
    	}
    
    	return subSys, inputs, tgt, e
    }
    
    // kvFields - converts an input string of form "k1=v1 k2=v2" into
    // fields of ["k1=v1", "k2=v2"], the tokenization of each `k=v`
    // happens with the right number of input keys, if keys
    // input is empty returned value is empty slice as well.
    func kvFields(input string, keys []string) []string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p><b>Warning:</b> This method assumes that for any instance {@code k} of {@code
       * EntryTransformer} key type {@code K}, {@code k.equals(k2)} implies that {@code k2} is also of
       * type {@code K}. Using an {@code EntryTransformer} key type for which this may not hold, such as
       * {@code ArrayList}, may risk a {@code ClassCastException} when calling methods on the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

                        KaSimpleVariableAccess.Write(rhs)
                    )
                }
                is FirPropertyAccessExpression, is FirCallableReferenceAccess -> {
                    @Suppress("USELESS_IS_CHECK") // K2 warning suppression, TODO: KT-62472
                    require(fir is FirQualifiedAccessExpression)
                    when (unsubstitutedKtSignature.symbol) {
                        is KaVariableLikeSymbol -> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  10. pkg/kube/inject/webhook.go

    	}
    }
    
    // parseInjectEnvs parse new envs from inject url path. format: /inject/k1/v1/k2/v2
    // slash characters in values must be replaced by --slash-- (e.g. /inject/k1/abc--slash--def/k2/v2).
    func parseInjectEnvs(path string) map[string]string {
    	path = strings.TrimSuffix(path, "/")
    	res := func(path string) []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top