Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 665 for Open (0.15 sec)

  1. guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

          for (int j = i; j <= MAX_BOUND; j++) {
            for (BoundType lowerType : BoundType.values()) {
              for (BoundType upperType : BoundType.values()) {
                if (i == j & lowerType == OPEN & upperType == OPEN) {
                  continue;
                }
                builder.add(Range.range(i, lowerType, j, upperType));
              }
            }
          }
        }
        RANGES = builder.build();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        public int read( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
                return 0;
            }
            long start = fp;
    
            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options );
            }
    
            int r, n;
            SmbComReadAndXResponse response = new SmbComReadAndXResponse( b, off );
            do {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  3. internal/lock/lock_windows.go

    	f, err := Open(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. internal/lock/lock_nix.go

    // the file from concurrent access across mount points.
    // This implementation doesn't support all the open
    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, 0)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  5. tests/tests_test.go

    		if dbDSN == "" {
    			dbDSN = sqlserverDSN
    		}
    		db, err = gorm.Open(sqlserver.Open(dbDSN), cfg)
    	case "tidb":
    		log.Println("testing tidb...")
    		if dbDSN == "" {
    			dbDSN = tidbDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	default:
    		log.Println("testing sqlite3...")
    		db, err = gorm.Open(sqlite.Open(filepath.Join(os.TempDir(), "gorm.db")), cfg)
    		if err == nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/base/KtFe10PsiSymbolUtils.kt

            hasModifier(KtTokens.OPEN_KEYWORD) -> {
                if (this is KtCallableDeclaration && !hasBody()) {
                    val parentDeclaration = this.getElementParentDeclaration()
                    if (parentDeclaration is KtClass && parentDeclaration.isInterface()) {
                        Modality.ABSTRACT
                    } else {
                        Modality.OPEN
                    }
                }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Nov 11 10:59:55 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Cut.java

        }
    
        @Override
        BoundType typeAsUpperBound() {
          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         * 
         */
        public static final int FILE_SUPERSEDE = 0x0;
        /**
         * 
         */
        public static final int FILE_OPEN = 0x1;
        /**
         * 
         */
        public static final int FILE_CREATE = 0x2;
        /**
         * 
         */
        public static final int FILE_OPEN_IF = 0x3;
        /**
         * 
         */
        public static final int FILE_OVERWRITE = 0x4;
        /**
         * 
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Response.kt

          this.trailersFn = response.trailersFn
        }
    
        open fun request(request: Request) = commonRequest(request)
    
        open fun protocol(protocol: Protocol) = commonProtocol(protocol)
    
        open fun code(code: Int) = commonCode(code)
    
        open fun message(message: String) = commonMessage(message)
    
        open fun handshake(handshake: Handshake?) =
          apply {
            this.handshake = handshake
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. cmd/tier-journal.go

    	// Rotate active journal to perform pending deletes.
    	return os.Rename(jPath, jroPath)
    }
    
    // Open opens a new active journal. Note: calling Open on an opened journal is a
    // no-op.
    func (jd *tierDiskJournal) Open() error {
    	jd.Lock()
    	defer jd.Unlock()
    	if jd.file != nil { // already open
    		return nil
    	}
    
    	var err error
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top