Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,574 for retorno (0.08 sec)

  1. internal/lock/lock_nix.go

    		lockType |= syscall.LOCK_EX
    	default:
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EINVAL,
    		}
    	}
    
    	f, err := os.OpenFile(path, flag|syscall.O_SYNC, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = syscall.Flock(int(f.Fd()), lockType); err != nil {
    		f.Close()
    		if err == syscall.EWOULDBLOCK {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		fallthrough
    	default:
    		p.errorf("can't handle %s instruction with %d operands", op, len(a))
    		return
    	}
    
    	p.append(prog, cond, true)
    }
    
    // symbolName returns the symbol name, or an error string if none is available.
    func symbolName(addr *obj.Addr) string {
    	if addr.Sym != nil {
    		return addr.Sym.Name
    	}
    	return "<erroneous symbol>"
    }
    
    var emptyProg obj.Prog
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. cmd/http-stats.go

    		stats.apiStats[api]--
    	}
    }
    
    // Get returns the current counter on input API string
    func (stats *HTTPAPIStats) Get(api string) int {
    	if stats == nil {
    		return 0
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	val, ok := stats.apiStats[api]
    	if ok {
    		return val
    	}
    
    	return 0
    }
    
    // Load returns the recorded stats.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

        }
    
        public String getName() {
            return name;
        }
    
        @Override
        public String toString() {
            return String.format("%s.%s()", ownerClass, name);
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            if (!super.equals(o)) {
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    			return pi, IncompleteBody{Bucket: bucket, Object: object}
    		}
    
    		return pi, toObjectErr(err, minioMetaMultipartBucket, partPath)
    	}
    
    	// Return success.
    	return PartInfo{
    		PartNumber:     partInfo.Number,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/abstract_tensor_handle.h

      ~AbstractTensorHandle() override {}
    
     public:
      // Returns tensor dtype.
      virtual tensorflow::DataType DataType() const = 0;
    
      // Returns the status of the tensor handle. If it is a tfrt::TensorHandle,
      // the tensor handle can be an error and return non-OK status.
      virtual absl::Status TensorHandleStatus() const;
    
      // Returns tensor shape. If tensor has unknown rank, shape remains untouched.
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. internal/event/target/mysql.go

    	quitCh chan struct{}
    }
    
    // ID - returns target ID.
    func (target *MySQLTarget) ID() event.TargetID {
    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *MySQLTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *MySQLTarget) Store() event.TargetStore {
    	return target.store
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/archive/zip/writer.go

    func (w *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    		if name == "." {
    			return nil
    		}
    		info, err := d.Info()
    		if err != nil {
    			return err
    		}
    		if !d.IsDir() && !info.Mode().IsRegular() {
    			return errors.New("zip: cannot add non-regular file")
    		}
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_windows.go

    import (
    	"path/filepath"
    	"sync"
    
    	"golang.org/x/sys/windows"
    )
    
    // CheckCrossDevice - check if any input path has multiple sub-mounts.
    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // mountPointCache contains results of IsLikelyMountPoint
    var mountPointCache sync.Map
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. cmd/erasure-decode.go

    	}
    	wg.Wait()
    	if p.canDecode(newBuf) {
    		p.offset += p.shardSize
    		if missingPartsHeal == 1 {
    			return newBuf, errFileNotFound
    		} else if bitrotHeal == 1 {
    			return newBuf, errFileCorrupt
    		}
    		return newBuf, nil
    	}
    
    	// If we cannot decode, just return read quorum error.
    	return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers))
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top