Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,405 for eles (0.02 seconds)

  1. docs_src/request_files/tutorial001_02_an_py310.py

        if not file:
            return {"message": "No file sent"}
        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile | None = None):
        if not file:
            return {"message": "No upload file sent"}
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 505 bytes
    - Click Count (0)
  2. cmd/metrics-realtime.go

    		}
    		cm, err := c.Times(false)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuTimes)", byHostName, err.Error()))
    		} else {
    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        sink: BufferedSink,
      ): Boolean {
        val index =
          mappings.binarySearch {
            when {
              it.sourceCodePoint1 < codePoint -> -1
              it.sourceCodePoint0 > codePoint -> 1
              else -> 0
            }
          }
    
        // Code points must be in 0..0x10ffff.
        require(index in mappings.indices) { "unexpected code point: $codePoint" }
    
        val mapping = mappings[index]
        var result = true
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

            if (days > 0) {
                return String.format("%d d %02d:%02d h", days, hours, minutes);
            } else if (hours > 0) {
                return String.format("%02d:%02d h", hours, minutes);
            } else if (minutes > 0) {
                return String.format("%02d:%02d min", minutes, seconds);
            } else {
                return String.format("%d.%03d s", seconds, millis);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        if (supportsRemove()) {
          table.clear();
          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertThat(table.put("foo", 1, cellValue('a'))).isNull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                char c = line.charAt(i);
    
                if (c == '"' && !inSingleQuotes) {
                    inDoubleQuotes = !inDoubleQuotes;
                } else if (c == '\'' && !inDoubleQuotes) {
                    inSingleQuotes = !inSingleQuotes;
                } else if (c == ' ' && !inDoubleQuotes && !inSingleQuotes) {
                    // Space outside quotes - end of argument
                    if (current.length() > 0) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                        methodKey.append("java.lang.Float");
                    } else if (parameterType.equals(Integer.TYPE)) {
                        methodKey.append("java.lang.Integer");
                    } else if (parameterType.equals(Long.TYPE)) {
                        methodKey.append("java.lang.Long");
                    } else if (parameterType.equals(Short.TYPE)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        proxyInfo(repository));
    
            } else if (repository.getAuthentication() != null) {
                wagon.connect(new Repository(repository.getId(), repository.getUrl()), authenticationInfo(repository));
    
            } else if (repository.getProxy() != null) {
                wagon.connect(new Repository(repository.getId(), repository.getUrl()), proxyInfo(repository));
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  9. dockerscripts/docker-entrypoint.sh

    		if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then
    			chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@"
    		else
    			echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
    			echo "${MINIO_GROUPNAME}:x:1000" >>/etc/group
    			chroot --userspec=${MINIO_USERNAME}:${MINIO_GROUPNAME} / "$@"
    		fi
    	else
    		exec "$@"
    	fi
    }
    
    ## DEPRECATED and unsupported - switch to user if applicable.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            ManagedVersionMap versionMap;
            if (managedVersions instanceof ManagedVersionMap managedVersionMap) {
                versionMap = managedVersionMap;
            } else {
                versionMap = new ManagedVersionMap(managedVersions);
            }
    
            // remove the originating artifact if it is also in managed versions to avoid being modified during resolution
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top