Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 6,449 for _return (0.06 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

          if (upper == POSITIVE_INFINITY) {
            // Return NaN when lower == NEGATIVE_INFINITY and upper == POSITIVE_INFINITY:
            return NaN;
          }
          // Return NEGATIVE_INFINITY when NEGATIVE_INFINITY == lower <= upper < POSITIVE_INFINITY:
          return NEGATIVE_INFINITY;
        }
        if (upper == POSITIVE_INFINITY) {
          // Return POSITIVE_INFINITY when NEGATIVE_INFINITY < lower <= upper == POSITIVE_INFINITY:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  2. internal/event/targetid.go

    	var s string
    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	targetID, err := parseTargetID(s)
    	if err != nil {
    		return err
    	}
    
    	*tid = *targetID
    	return nil
    }
    
    // parseTargetID - parses string to TargetID.
    func parseTargetID(s string) (*TargetID, error) {
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 2 {
    		return nil, fmt.Errorf("invalid TargetID format '%v'", s)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      size_t num_tensors() const { return tensors_.size(); }
      TFE_TensorHandle* tensor(size_t index) const { return tensors_[index].get(); }
    
      // If the `shape` argument to `FromTensorHandles` is specified, returns that.
      //
      // Otherwise if all of the tensors have the same shape, returns that via the
      // `shape` output argument. This blocks waiting for async tensors, may return
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. cmd/last-minute_gen.go

    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "N":
    			z.N, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "N")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z AccElem) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 3
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    	if err != ErrNone {
    		return err
    	}
    
    	cred, _, s3Err := checkKeyValid(r, pSignValues.Credential.accessKey)
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract all the signed headers along with its values.
    	extractedSignedHeaders, errCode := extractSignedHeaders(pSignValues.SignedHeaders, r)
    	if errCode != ErrNone {
    		return errCode
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. src/archive/zip/register.go

    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    	di, ok := decompressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return di.(Decompressor)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

            // terminated early, ignoring things like "+01:00". Leaving this as != 0 means that any
            // trailing junk is ignored.
            return result
          }
        }
      }
      return null
    }
    
    /** Returns the string for this date. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

          if (!decodeLabel(string, pos, dot, result)) return null
    
          if (dot < limit) {
            result.writeByte('.'.code)
            pos = dot + 1
          } else {
            break
          }
        }
    
        return result.readUtf8()
      }
    
      /**
       * Converts a single label from Punycode to Unicode.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top