Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 534 for Totals (0.04 seconds)

  1. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        InputStream in = joined.openStream();
        assertFalse(in.markSupported());
        assertEquals(10, in.available());
        int total = 0;
        while (in.read() != -1) {
          total++;
        }
        assertEquals(0, in.available());
        assertEquals(20, total);
      }
    
      @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0
      public void testSkip() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. cmd/metrics-v3-replication.go

    	replicationAverageDataTransferRateMD = NewGaugeMD(replicationAverageDataTransferRate,
    		"Average replication data transfer rate in bytes/sec")
    	replicationCurrentActiveWorkersMD = NewGaugeMD(replicationCurrentActiveWorkers,
    		"Total number of active replication workers")
    	replicationCurrentDataTransferRateMD = NewGaugeMD(replicationCurrentDataTransferRate,
    		"Current replication data transfer rate in bytes/sec")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  3. impl/maven-cli/pom.xml

            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <id>unpack-jline-native</id>
                <goals>
                  <goal>unpack-dependencies</goal>
                </goals>
                <configuration>
                  <includeArtifactIds>jline-native</includeArtifactIds>
                  <includes>org/jline/nativ/**</includes>
                </configuration>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
            plugin.setArtifactId(artifactId);
    
            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
                pluginExecution.setId("default-" + goal);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. cmd/storage-datatypes_test.go

    	b.SetBytes(1)
    	b.ReportAllocs()
    
    	for b.Loop() {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeDiskInfoMsgp(b *testing.B) {
    	v := DiskInfo{
    		Total:     1000,
    		Free:      1000,
    		Used:      1000,
    		FSType:    "xfs",
    		RootDisk:  true,
    		Healing:   true,
    		Endpoint:  "http://localhost:9001/tmp/drive1",
    		MountPath: "/tmp/drive1",
    		ID:        "uuid",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. docs_src/dependencies/tutorial008b_an_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 26 20:37:34 GMT 2023
    - 775 bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial008b_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 735 bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

            if (commandLine.hasOption(CLIManager.YES)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<List<String>> goals() {
            if (!commandLine.getArgList().isEmpty()) {
                return Optional.of(commandLine.getArgList());
            }
            return Optional.empty();
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/projects/project-builder/mng-3023/consumer/pom.xml

            <version>2.1-SNAPSHOT</version>
            <executions>
              <execution>
                <id>compile-classpath</id>
                <phase>validate</phase>
                <goals>
                  <goal>compile</goal>
                </goals>
                <configuration>
                  <compileClassPath>${project.build.directory}/compile.classpath</compileClassPath>
                  <significantPathLevels>1</significantPathLevels>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

            long total = totalRequests.get();
            if (total == 0) {
                return 100.0;
            }
            return (totalSuccesses.get() * 100.0) / total;
        }
    
        /**
         * Calculate availability
         *
         * @return availability as percentage (0-100)
         */
        private double calculateAvailability() {
            long total = totalRequests.get();
            if (total == 0) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top