Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for naive (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. .github/DISCUSSION_TEMPLATE/translations.yml

      - type: markdown
        attributes:
          value: |
            Translations are automatized with AI and then reviewed by native speakers. 🤖 🙋
    
            This allows us to keep them consistent and up-to-date.
    
            If there are several native speakers commenting on this discussion and
            committing to help review new translations, the FastAPI team will review it
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. docs/orchestration/README.md

    ## Why is MinIO cloud-native?
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

            super(config, andx);
        }
    
        /**
         * Returns the native LAN Manager string reported by the server.
         *
         * @return the nativeLanMan
         */
        public final String getNativeLanMan() {
            return this.nativeLanMan;
        }
    
        /**
         * Returns the native operating system string reported by the server.
         *
         * @return the nativeOs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. docs/orchestration/kubernetes/README.md

    MinIO is a high performance distributed object storage server, designed for large-scale private cloud infrastructure. MinIO is designed in a cloud-native manner to scale sustainably in multi-tenant environments. Orchestration platforms like Kubernetes provide perfect cloud-native environment to deploy and scale MinIO.
    
    ## MinIO Deployment on Kubernetes
    
    There are multiple options to deploy MinIO on Kubernetes:
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java

         *
         * @return remote key
         */
        protected abstract int generateRemoteKey();
    
        /**
         * Get native memory address of the buffer
         *
         * @param buffer buffer to get address for
         * @return native memory address
         */
        protected abstract long getBufferAddress(ByteBuffer buffer);
    
        @Override
        public void close() {
            invalidate();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

                // - Testing basic RDMA operations
                // - Checking for required native libraries
    
                return true;
            } catch (ClassNotFoundException e) {
                log.debug("DiSNI not available: {}", e.getMessage());
                return false;
            } catch (UnsatisfiedLinkError e) {
                log.debug("DiSNI native libraries not available: {}", e.getMessage());
                return false;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. apache-maven/src/assembly/maven/bin/mvn

    cmd="\"$JAVACMD\" \
      $MAVEN_OPTS \
      $MAVEN_DEBUG_OPTS \
      --enable-native-access=ALL-UNNAMED \
      -classpath \"$LAUNCHER_JAR\" \
      \"-Dclassworlds.conf=$CLASSWORLDS_CONF\" \
      \"-Dmaven.home=$MAVEN_HOME\" \
      \"-Dmaven.mainClass=$MAVEN_MAIN_CLASS\" \
      \"-Dlibrary.jline.path=${MAVEN_HOME}/lib/jline-native\" \
      \"-Dmaven.multiModuleProjectDirectory=$MAVEN_PROJECTBASEDIR\" \
      $LAUNCHER_CLASS \
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top