Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for naive (0.02 sec)

  1. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      static double calculateNewMeanNonFinite(double previousMean, double value) {
        /*
         * Desired behaviour is to match the results of applying the naive mean formula. In particular,
         * the update formula can subtract infinities in cases where the naive formula would add them.
         *
         * Consequently:
         * 1. If the previous mean is finite and the new value is non-finite then the new mean is that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertEquals(1, future.get(-1, SECONDS).intValue());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        }
    
        @Test
        @DisplayName("Test capacity calculation overflow handling")
        void testCapacityCalculationOverflow() throws SMBProtocolDecodingException {
            // Prepare test data that might cause overflow in naive implementations
            byte[] buffer = new byte[22];
            int idFileSystem = 0;
            int sectPerAlloc = 1000;
            int alloc = 1000000; // Large allocation count
            int free = 500000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. cmd/object-api-utils_test.go

    }
    
    func concatNaive(ss ...string) string {
    	rs := ss[0]
    	for i := 1; i < len(ss); i++ {
    		rs += ss[i]
    	}
    	return rs
    }
    
    func benchmark(b *testing.B, data []string) {
    	b.Run("concat naive", func(b *testing.B) {
    		b.ResetTimer()
    		b.ReportAllocs()
    		for b.Loop() {
    			concatNaive(data...)
    		}
    	})
    	b.Run("concat fast", func(b *testing.B) {
    		b.ResetTimer()
    		b.ReportAllocs()
    		for b.Loop() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ByteStreams.java

       *       have file descriptors. Bytes are copied from the file into a kernel buffer, then directly
       *       into the other buffer (userspace). Note that if the file is very large, a naive
       *       implementation will effectively put the whole file in memory. On many systems with paging
       *       and virtual memory, this is not a problem - because it is mapped read-only, the kernel
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/LittleEndianByteArray.java

      /**
       * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This
       * has to explicitly reverse the order of the bytes as it packs them into the result which makes
       * it slower than the native version.
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start reading
       * @param length the number of bytes from the input to read
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. apache-maven/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>
              </execution>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Sep 06 21:30:13 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. docs/bigdata/README.md

    # **Disaggregated HDP Spark and Hive with MinIO**
    
    ## **1. Cloud-native Architecture**
    
    ![cloud-native](https://github.com/minio/minio/blob/master/docs/bigdata/images/image1.png?raw=true "cloud native architecture")
    
    Kubernetes manages stateless Spark and Hive containers elastically on the compute nodes. Spark has native scheduler integration with Kubernetes. Hive, for legacy reasons, uses YARN scheduler on top of Kubernetes.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. docs/en/docs/contributing.md

    * Create a new discussion following the template.
    * Get a few native speakers to comment on the discussion and commit to help review translations for that language.
    
    Once there are several people in the discussion, the FastAPI team can evaluate it and can make it an official translation.
    
    Then the docs will be automatically translated using AI, and the team of native speakers can review the translation, and help tweak the AI prompts.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. cmd/bucket-listobjects-handlers.go

    			return checkRequestAuthType(ctx, r, action, bucket, name)
    		}
    	}
    	urlValues := r.Form
    
    	// Extract all the listBucketVersions query params to their native values.
    	prefix, marker, delimiter, maxkeys, encodingType, versionIDMarker, errCode := getListBucketObjectVersionsArgs(urlValues)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top