Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,852 for else (0.02 seconds)

  1. guava/src/com/google/common/collect/CompactHashing.java

          return new byte[buckets];
        } else if (buckets <= SHORT_MAX_SIZE) {
          return new short[buckets];
        } else {
          return new int[buckets];
        }
      }
    
      static void tableClear(Object table) {
        if (table instanceof byte[]) {
          Arrays.fill((byte[]) table, (byte) 0);
        } else if (table instanceof short[]) {
          Arrays.fill((short[]) table, (short) 0);
        } else {
          Arrays.fill((int[]) table, 0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

        if (Build.VERSION.SDK_INT >= 30) {
          CloseGuard().apply { open(closer) }
        } else {
          super.getStackTraceForCloseable(closer)
        }
    
      override fun logCloseableLeak(
        message: String,
        stackTrace: Any?,
      ) {
        if (Build.VERSION.SDK_INT >= 30) {
          (stackTrace as CloseGuard).warnIfOpen()
        } else {
          // Unable to report via CloseGuard. As a last-ditch effort, send it to the logger.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Jul 20 11:25:50 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. cmd/xl-storage-format-utils.go

    	var versions []FileInfo
    	var err error
    
    	if buf, _, e := isIndexedMetaV2(xlMetaBuf); e != nil {
    		return FileInfoVersions{}, e
    	} else if buf != nil {
    		versions, err = buf.ListVersions(volume, path, allParts)
    	} else {
    		var xlMeta xlMetaV2
    		if err := xlMeta.LoadOrConvert(xlMetaBuf); err != nil {
    			return FileInfoVersions{}, err
    		}
    		versions, err = xlMeta.ListVersions(volume, path, allParts)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/parse.go

    					p.errorf("expected register; found %s", name)
    				}
    				a.Reg, _ = p.registerReference(name)
    				p.get(')')
    			}
    		} else if p.atRegisterExtension() {
    			a.Type = obj.TYPE_REG
    			p.registerExtension(a, tok.String(), prefix)
    			p.expectOperandEnd()
    			return
    		} else if r1, r2, scale, ok := p.register(tok.String(), prefix); ok {
    			if scale != 0 {
    				p.errorf("expected simple register reference")
    			}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  5. cmd/batch-job-common-types_gen.go

    	if z.Disable == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.BoolSize
    	}
    	s += 6
    	if z.Batch == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.IntSize
    	}
    	s += 9
    	if z.InMemory == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.BoolSize
    	}
    	s += 9
    	if z.Compress == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.BoolSize
    	}
    	s += 12
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                                } else if (List.class.isAssignableFrom(type)) {
                                    fields.add(new ListField(currentField));
                                } else if (Collection.class.isAssignableFrom(type)) {
                                    throw new RuntimeException("We dont interpolate into collections, use a list instead");
                                } else if (Map.class.isAssignableFrom(type)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            int result = 13;
    
            if (lowerBound == null) {
                result += 1;
            } else {
                result += lowerBound.hashCode();
            }
    
            result *= lowerBoundInclusive ? 1 : 2;
    
            if (upperBound == null) {
                result -= 3;
            } else {
                result -= upperBound.hashCode();
            }
    
            result *= upperBoundInclusive ? 2 : 3;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. docs_src/request_files/tutorial001_02_py39.py

        if not file:
            return {"message": "No file sent"}
        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: Union[UploadFile, None] = None):
        if not file:
            return {"message": "No upload file sent"}
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 508 bytes
    - Click Count (0)
  9. .teamcity/mvnw

      if [ -n "$JAVA_HOME"  ] ; then
        if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
          # IBM's JDK on AIX uses strange locations for the executables
          JAVACMD="$JAVA_HOME/jre/sh/java"
        else
          JAVACMD="$JAVA_HOME/bin/java"
        fi
      else
        JAVACMD="`which java`"
      fi
    fi
    
    if [ ! -x "$JAVACMD" ] ; then
      echo "Error: JAVA_HOME is not defined correctly." >&2
      echo "  We cannot execute $JAVACMD" >&2
      exit 1
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        Map<K, V> map = makeEitherMap();
        if (allowsNullKeys) {
          if (allowsNullValues) {
            // TODO: decide what to test here.
          } else {
            assertEquals(map.containsKey(null), map.get(null) != null);
          }
        } else {
          try {
            V unused = map.get(null);
          } catch (NullPointerException optional) {
          }
        }
        assertInvariants(map);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
Back to Top