Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 449 for returns_ (0.14 sec)

  1. guava/src/com/google/common/util/concurrent/Futures.java

      public static ListenableFuture<@Nullable Void> immediateVoidFuture() {
        return (ListenableFuture<@Nullable Void>) ImmediateFuture.NULL;
      }
    
      /**
       * Returns a {@code ListenableFuture} which has an exception set immediately upon construction.
       *
       * <p>The returned {@code Future} can't be cancelled, and its {@code isDone()} method always
       * returns {@code true}. Calling {@code get()} will immediately throw the provided {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  2. src/crypto/tls/common.go

    		if c.flags&suiteECDHE == 0 {
    			return false
    		}
    		if c.flags&suiteECSign != 0 {
    			if !ecdsaCipherSuite {
    				return false
    			}
    		} else {
    			if ecdsaCipherSuite {
    				return false
    			}
    		}
    		if vers < VersionTLS12 && c.flags&suiteTLS12 != 0 {
    			return false
    		}
    		return true
    	})
    	if cipherSuite == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    		case osIsPermission(err):
    			return errDiskAccessDenied
    		case isSysErrIO(err):
    			return errFaultyDisk
    		default:
    			return err
    		}
    	}
    	return nil
    }
    
    // ListDir - return all the entries at the given directory path.
    // If an entry is a directory it will be returned with a trailing SlashSeparator.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MapMakerInternalMap.java

          sum += segments[i].count;
        }
        return Ints.saturatedCast(sum);
      }
    
      @CheckForNull
      @Override
      public V get(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).get(key, hash);
      }
    
      /**
       * Returns the internal entry for the specified key. The entry may be computing or partially
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    		return -1
    	}
    	return int(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) Signal() syscall.Signal {
    	if !w.Signaled() {
    		return -1
    	}
    	return syscall.Signal(w & mask)
    }
    
    func (w WaitStatus) StopSignal() syscall.Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return syscall.Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int {
    	if w.StopSignal() != SIGTRAP {
    		return -1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  6. src/time/time.go

    		return d - r
    	}
    	if d1 := d + m - r; d1 > d {
    		return d1
    	}
    	return maxDuration // overflow
    }
    
    // Abs returns the absolute value of d.
    // As a special case, [math.MinInt64] is converted to [math.MaxInt64].
    func (d Duration) Abs() Duration {
    	switch {
    	case d >= 0:
    		return d
    	case d == minDuration:
    		return maxDuration
    	default:
    		return -d
    	}
    }
    
    // Add returns the time t+d.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  7. src/reflect/type.go

    		return true
    	case Func:
    		return canRangeFunc2(&t.t)
    	case Pointer:
    		return t.Elem().Kind() == Array
    	}
    	return false
    }
    
    func canRangeFunc2(t *abi.Type) bool {
    	if t.Kind() != abi.Func {
    		return false
    	}
    	f := t.FuncType()
    	if f.InCount != 1 || f.OutCount != 0 {
    		return false
    	}
    	y := f.In(0)
    	if y.Kind() != abi.Func {
    		return false
    	}
    	yield := y.FuncType()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    // case though).
    //
    // If the evaluation is successful, this function returns true and `output`s
    // value is returned in `result`. Otherwise returns false. An error status is
    // returned if something is wrong with the graph or input. Note that this may
    // return false even if no error status is set.
    TF_CAPI_EXPORT extern unsigned char TF_TryEvaluateConstant(TF_Graph* graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    			// but finalizeDelete returns a metav1.Status, so return
    			// the object in the request instead.
    			return obj, false, err
    		}
    		return nil, false, storeerr.InterpretDeleteError(err, e.qualifiedResourceFromContext(ctx), name)
    	}
    	_, err := e.finalizeDelete(ctx, out, true, options)
    	// clients are expecting an updated object if a PUT succeeded, but
    	// finalizeDelete returns a metav1.Status, so return the object in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	return madminPartitions.NewJSONWith(&info), nil
    }
    
    // GetOSInfoHandler - returns operating system's information.
    func (s *peerRESTServer) GetOSInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.OSInfo], *grid.RemoteErr) {
    	info := madmin.GetOSInfo(context.Background(), globalLocalNodeName)
    	return madminOSInfo.NewJSONWith(&info), nil
    }
    
    // GetProcInfoHandler - returns this MinIO process information.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top