Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 477 for doFile (0.05 sec)

  1. src/main/java/org/codelibs/core/net/URLUtil.java

         *
         * @param fileUrl
         *            The URL of the Jar file. Must not be {@literal null}.
         * @return The {@link File} of the Jar file.
         */
        public static File toFile(final URL fileUrl) {
            assertArgumentNotNull("fileUrl", fileUrl);
    
            try {
                final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8");
                return new File(path).getAbsoluteFile();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            MsrpcShareEnum shareEnum = new MsrpcShareEnum(TEST_SERVER_NAME);
            assertNotNull(shareEnum);
    
            // Verify the server name is properly formatted with double backslashes
            try {
                Field servernameField = srvsvc.ShareEnumAll.class.getDeclaredField("servername");
                servernameField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                        || message.contains("not supported") || message.contains("capability")) {
                    return true;
                }
            }
    
            // If we've had many errors, consider fallback
            double errorRate = statistics.getErrorRate();
            if (errorRate > 0.1) { // More than 10% error rate
                log.warn("High RDMA error rate ({:.1f}%), TCP fallback recommended", errorRate * 100);
                return true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. cmd/site-replication-metrics.go

    package cmd
    
    import (
    	"fmt"
    	"maps"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    )
    
    //go:generate msgp -file $GOFILE
    
    // RStat has replication error stats
    type RStat struct {
    	Count int64 `json:"count"`
    	Bytes int64 `json:"bytes"`
    }
    
    // RTimedMetrics has replication error stats for various time windows
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. docs/smb3-features/04-directory-leasing-design.md

        private final AtomicLong changeNotifications = new AtomicLong();
        
        public double getCacheHitRatio() {
            long hits = cacheHits.get();
            long misses = cacheMisses.get();
            long total = hits + misses;
            
            if (total == 0) return 0.0;
            return (double) hits / total;
        }
        
        public void recordCacheHit() { cacheHits.incrementAndGet(); }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

        }
        
        public void recordError() {
            operationErrors.incrementAndGet();
        }
        
        public double getErrorRate() {
            long total = rdmaReads.get() + rdmaWrites.get() + rdmaSends.get() + rdmaReceives.get();
            if (total == 0) return 0.0;
            return (double) operationErrors.get() / total;
        }
        
        // Getters for all statistics...
    }
    ```
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> {
      private static final byte ABSENT = -1;
    
      // Max size is halved due to indexing into double-sized alternatingKeysAndValues
      private static final int BYTE_MAX_SIZE = 1 << (Byte.SIZE - 1); // 2^7 = 128
      private static final int SHORT_MAX_SIZE = 1 << (Short.SIZE - 1); // 2^15 = 32_768
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putInt(1);
                buffer.putInt(1);
    
                // When
                fileFsSizeInfo.decode(buffer.array(), 0, 24);
                double percentFree = (fileFsSizeInfo.getFree() * 100.0) / fileFsSizeInfo.getCapacity();
                double percentUsed = ((fileFsSizeInfo.getCapacity() - fileFsSizeInfo.getFree()) * 100.0) / fileFsSizeInfo.getCapacity();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Float.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Double.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Byte.MAX_VALUE));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
            assertEquals(32L, MemoryUtil.sizeOf(new Date()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      static final RegularImmutableBiMap<Object, Object> EMPTY =
          new RegularImmutableBiMap<>(
              null, null, (Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, 0, 0);
    
      static final double MAX_LOAD_FACTOR = 1.2;
    
      private final transient @Nullable ImmutableMapEntry<K, V> @Nullable [] keyTable;
      private final transient @Nullable ImmutableMapEntry<K, V> @Nullable [] valueTable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top