Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 757 for switches (0.14 sec)

  1. android/guava/src/com/google/common/reflect/TypeParameter.java

     * support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion
     * on TypeToken.where.) So, in the interest of failing fast and encouraging the user to switch to a
     * non-null bound if possible, let's require a non-null bound here.
     *
     * TODO(cpovirk): Elaborate on "wouldn't behave as users might expect."
     */
    public abstract class TypeParameter<T> extends TypeCapture<T> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_gen.go

    		return
    	}
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "V2Obj":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV2")
    					return
    				}
    				z.ObjectV2 = nil
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. internal/config/api/api.go

    	switch listQuorum {
    	case "strict", "optimal", "reduced", "disk", "auto":
    	default:
    		return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum)
    	}
    	cfg.ListQuorum = listQuorum
    
    	replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS))
    	switch replicationPriority {
    	case "slow", "fast", "auto":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            Enumeration<?> fields = seq.getObjects();
            while ( fields.hasMoreElements() ) {
                ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields.nextElement());
                switch ( tagged.getTagNo() ) {
                case 0:
                    ASN1Integer pvno = ASN1Util.as(ASN1Integer.class, tagged);
                    if ( !pvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION)) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. internal/lock/lock_nix.go

    import (
    	"os"
    	"syscall"
    )
    
    // Internal function implements support for both
    // blocking and non blocking lock type.
    func lockedOpenFile(path string, flag int, perm os.FileMode, lockType int) (*LockedFile, error) {
    	switch flag {
    	case syscall.O_RDONLY:
    		lockType |= syscall.LOCK_SH
    	case syscall.O_WRONLY:
    		fallthrough
    	case syscall.O_RDWR:
    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		fallthrough
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/form-validator/html5.js

    b="placeholder"in document.createElement("INPUT"),c="options"in document.createElement("DATALIST"),d=!1,e=function(e){e.each(function(){var e=a(this),f=e.find("input,textarea,select"),g=!1;f.each(function(){var b=[],e=a(this),f=e.attr("required"),h={};switch(f&&b.push("required"),(e.attr("type")||"").toLowerCase()){case"time":b.push("time"),a.formUtils.validators.validate_date||d||(d=!0,a.formUtils.loadModules("date"));break;case"url":b.push("url");break;case"email":b.push("email");break;case"date":b...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  7. .teamcity/mvnw

        else
            if [ "$MVNW_VERBOSE" = true ]; then
              echo "Falling back to using Java to download"
            fi
            javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
            # For Cygwin, switch paths to Windows format before running javac
            if $cygwin; then
              javaClass=`cygpath --path --windows "$javaClass"`
            fi
            if [ -e "$javaClass" ]; then
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static void validateMethod(Method method) {
        String desc = method.toString();
    
        assertTrue(desc, isAnyEnter(method) || isWaitFor(method));
    
        switch (method.getParameterTypes().length) {
          case 0:
            assertFalse(desc, isGuarded(method));
            assertFalse(desc, isTimed(method));
            break;
          case 1:
            if (isDurationBased(method)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

        this.adjacentNodeValues = checkNotNull(adjacentNodeValues);
      }
    
      static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
        switch (incidentEdgeOrder.type()) {
          case UNORDERED:
            return new UndirectedGraphConnections<>(
                new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          case STABLE:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. internal/kms/config.go

    		if err != nil {
    			return nil, err
    		}
    		return nil, errors.New("kms: no KMS configuration specified")
    	}
    
    	lookup := func(key string) bool {
    		_, ok := os.LookupEnv(key)
    		return ok
    	}
    	switch {
    	case lookup(EnvKMSEndpoint):
    		rawEndpoint := env.Get(EnvKMSEndpoint, "")
    		if rawEndpoint == "" {
    			return nil, errors.New("kms: no KMS server endpoint provided")
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top