Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for badmode (0.72 sec)

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

        setDefault(int.class, 32);
        setDefault(String.class, "abcd");
        setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]);
        setDefault(MapMode.class, MapMode.READ_ONLY);
        setDefault(CharsetEncoder.class, UTF_8.newEncoder());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. cmd/xl-storage_noatime_notsupported.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    var (
    	// No special option for reads on windows
    	readMode = os.O_RDONLY
    
    	// Write with sync no buffering only used only for `xl.meta` writes
    	writeMode = os.O_SYNC
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 23 16:36:24 UTC 2024
    - 1001 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/nio/ChannelUtil.java

    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.channels.Channel;
    import java.nio.channels.FileChannel;
    import java.nio.channels.FileChannel.MapMode;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility for {@link Channel}.
     *
     * Author: koichik
     */
    public abstract class ChannelUtil {
    
        /**
         * Do not instantiate.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. cmd/xl-storage_noatime_supported.go

    package cmd
    
    import (
    	"os"
    	"syscall"
    )
    
    var (
    	// Disallow updating access times
    	// Add non-block to avoid syscall to attempt to set epoll on files.
    	readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME
    
    	// Write with data sync only used only for `xl.meta` writes
    	writeMode = 0x1000 | syscall.O_NONBLOCK // O_DSYNC
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 23 16:36:24 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. cmd/os_unix.go

    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, fn func(name string, typ os.FileMode) error) error {
    	fd, err := openFileWithFD(dirPath, readMode, 0o666)
    	if err != nil {
    		if osErrToFileErr(err) == errFileNotFound {
    			return nil
    		}
    		if !osIsPermission(err) {
    			return osErrToFileErr(err)
    		}
    		// There may be permission error when dirPath
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top