Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 1,396 for read (0.03 sec)

  1. src/archive/tar/writer.go

    // readFrom populates the content of the current file by reading from r.
    // The bytes read must match the number of remaining bytes in the current file.
    //
    // If the current file is sparse and r is an io.ReadSeeker,
    // then readFrom uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are all NULs.
    // This always reads the last byte to ensure r is the right size.
    //
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         * - Run the test.
         * - Pull the relevant lines of output from the test into a testcases file.
         * - Test the output:
         * --- cat testcases | while read L; do
         *       X=($L)
         *       A=$( cd /b/c && sudo mkdir -p ${X[0]} && cd ${X[0]} && pwd |
         *           sed -e 's#^//*#/#' )
         *       B=$( cd /b/c && cd ${X[1]} && pwd )
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/Stats.java

            BYTES,
            byteArray.length);
        return readFrom(ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN));
      }
    
      /**
       * Creates a Stats instance from the byte representation read from the given {@link ByteBuffer}.
       *
       * <p><b>Note:</b> No guarantees are made regarding stability of the representation between
       * versions.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether to failover to port 139 if port 445 fails */
        protected boolean port139FailoverEnabled = false;
        /** Whether to use NT SMB operations */
        protected boolean useNTSmbs = true;
        /** Whether to use large read/write operations for better performance */
        protected boolean useLargeReadWrite = true;
        /** LAN Manager compatibility level for authentication */
        protected int lanmanCompatibility = 3;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    			continue
    		}
    	}
    
    	// Return dir entries, if enough...
    	if selected != nil && selected.isDir() && dirExists >= r.dirQuorum {
    		return selected, true
    	}
    
    	// If we would never be able to reach read quorum.
    	if objsValid < r.objQuorum {
    		return nil, false
    	}
    
    	// If all objects agree.
    	if selected != nil && objsAgree == objsValid {
    		return selected, true
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      public long sum() {
        return map.values().stream().mapToLong(Long::longValue).sum();
      }
    
      @LazyInit private transient @Nullable Map<K, Long> asMap;
    
      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/archive/tar/strconv.go

    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    // If parsing is successful, it will slice off the currently read record and
    // return the remainder as r.
    func parsePAXRecord(s string) (k, v, r string, err error) {
    	// The size field ends at the first space.
    	nStr, rest, ok := strings.Cut(s, " ")
    	if !ok {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileTest.java

                assertTrue(smbFile.canRead());
            }
    
            @Test
            void testCanWrite() throws SmbException {
                // Arrange
                doReturn(0).when(smbFile).getAttributes(); // No read-only attribute
                doReturn(true).when(smbFile).exists();
    
                // Act & Assert
                assertTrue(smbFile.canWrite());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    socket.setSoTimeout(closeTimeout);
                    socket.receive(in);
    
                    if (LogStream.level > 3) {
                        log.println("NetBIOS: new data read from socket");
                    }
    
                    nameTrnId = NameServicePacket.readNameTrnId(rcv_buf, 0);
                    response = (NameServicePacket) responseTable.get(Integer.valueOf(nameTrnId));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. README.md

        client.setMaxConnectionsPerRoute(20);   // Per-host connections
        client.setConnectionTimeout(30000);     // Connection timeout
        client.setSocketTimeout(60000);         // Read timeout
    });
    ```
    
    ### Memory Management
    
    ```java
    // Configure memory usage
    crawler.crawlerContext.setMaxAccessCount(10000);     // Limit crawled URLs
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top