Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 757 for switches (0.47 sec)

  1. cmd/endpoint_test.go

    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprint("case-", i), func(t *testing.T) {
    			endpoint, err := NewEndpoint(test.arg)
    			if err == nil {
    				err = endpoint.UpdateIsLocal()
    			}
    
    			switch {
    			case test.expectedErr == nil:
    				if err != nil {
    					t.Errorf("error: expected = <nil>, got = %v", err)
    				}
    			case err == nil:
    				t.Errorf("error: expected = %v, got = <nil>", test.expectedErr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            return e.referent;
        }
    
    
        public void enc_ndr_referent ( Object obj, int type ) {
            if ( obj == null ) {
                enc_ndr_long(0);
                return;
            }
            switch ( type ) {
            case 1: /* unique */
            case 3: /* ref */
                enc_ndr_long(System.identityHashCode(obj));
                return;
            case 2: /* ptr */
                enc_ndr_long(getDceReferent(obj));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/maven/bin/mvn

    MAVEN_OPTS="$MAVEN_OPTS `concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config"`"
    LAUNCHER_JAR=`echo "$MAVEN_HOME"/boot/plexus-classworlds-*.jar`
    LAUNCHER_CLASS=org.codehaus.plexus.classworlds.launcher.Launcher
    
    # For Cygwin and MinGW, switch paths to Windows format before running java(1) command
    if $cygwin || $mingw ; then
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --windows "$JAVA_HOME"`
      LAUNCHER_JAR=`cygpath --windows "$LAUNCHER_JAR"`
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ElementOrder.java

        }
        return helper.toString();
      }
    
      /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
      <K extends T, V> Map<K, V> createMap(int expectedSize) {
        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
            return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ElementOrder.java

        }
        return helper.toString();
      }
    
      /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
      <K extends T, V> Map<K, V> createMap(int expectedSize) {
        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
            return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

        //                                                                        ============
        private static OptionalEntity<Role> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new Role()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

                        // be a muchness. Maven doesnt run on CE, anyway.
                        || actualOsName.contains("ce"));
                isNT = !is9x;
            }
            switch (family) {
                case FAMILY_WINDOWS:
                    return isWindows;
                case FAMILY_WIN9X:
                    return isWindows && is9x;
                case FAMILY_NT:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            }
        }
    
        private boolean hasBeenPackagedDuringThisSession(MavenProject project) {
            boolean packaged = false;
            for (String phase : getLifecycles(project)) {
                switch (phase) {
                    case "clean":
                        packaged = false;
                        break;
                    case "package":
                    case "install":
                    case "deploy":
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. lib/wasm/wasm_exec.js

    						id = this._values.length;
    					}
    					this._values[id] = v;
    					this._goRefCounts[id] = 0;
    					this._ids.set(v, id);
    				}
    				this._goRefCounts[id]++;
    				let typeFlag = 0;
    				switch (typeof v) {
    					case "object":
    						if (v !== null) {
    							typeFlag = 1;
    						}
    						break;
    					case "string":
    						typeFlag = 2;
    						break;
    					case "symbol":
    						typeFlag = 3;
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. cmd/metacache-set_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ID":
    			z.ID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "Bucket":
    			z.Bucket, err = dc.ReadString()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top