Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 844 for called (0.07 sec)

  1. fastapi/applications.py

        def openapi(self) -> Dict[str, Any]:
            """
            Generate the OpenAPI schema of the application. This is called by FastAPI
            internally.
    
            The first time it is called it stores the result in the attribute
            `app.openapi_schema`, and next times it is called, it just returns that same
            result. To avoid the cost of generating the schema every time.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @GwtIncompatible // Duration
      @SuppressWarnings({
        "GoodTime", // Duration decomposition
        "Java7ApiChecker",
      })
      @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from
      private static long toNanosSaturated(Duration duration) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    		sparseMap = sparseMap[2:]
    	}
    	return spd, nil
    }
    
    // Read reads from the current file in the tar archive.
    // It returns (0, io.EOF) when it reaches the end of that file,
    // until [Next] is called to advance to the next file.
    //
    // If the current file is sparse, then the regions marked as a hole
    // are read back as NUL-bytes.
    //
    // Calling Read on special types like [TypeLink], [TypeSymlink], [TypeChar],
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. migrator/migrator.go

    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		// avoid using the same name field
    		if stmt.Schema == nil {
    			return errors.New("failed to get schema")
    		}
    		f := stmt.Schema.LookUpField(name)
    		if f == nil {
    			return fmt.Errorf("failed to look up field with name: %s", name)
    		}
    
    		if !f.IgnoreMigration {
    			return m.DB.Exec(
    				"ALTER TABLE ? ADD ? ?",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

       *
       * <p>This method assumes that the temporary volume is writable, has free inodes and free blocks,
       * and that it will not be called thousands of times per second.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#createTempDirectory}.
       *
       * @return the newly-created directory
       * @throws IllegalStateException if the directory could not be created, such as if the system does
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    				v2.DeploymentID = v.DeploymentID
    			}
    			v2.ReplicatedCount += v.ReplicatedCount
    			v2.ReplicatedSize += v.ReplicatedSize
    			v2.Failed = v2.Failed.Add(v.Failed)
    			for k, v := range v.Failed.ErrCounts {
    				v2.Failed.ErrCounts[k] += v
    			}
    			if v2.XferStats == nil {
    				v2.XferStats = make(map[replication.MetricName]replication.XferStats)
    			}
    			for rm, x := range v.XferStats {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         */
        int crossOver(int index, E x) {
          int minChildIndex = findMinChild(index);
          // TODO(kevinb): split the && into two if's and move crossOverUp so it's
          // only called when there's no child.
          if ((minChildIndex > 0) && (ordering.compare(elementData(minChildIndex), x) < 0)) {
            queue[index] = elementData(minChildIndex);
            queue[minChildIndex] = x;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

        }
    
        /*
         * We need to be able to mock identityHashCode() calls for tests, because it
         * can take 1-10 seconds to find colliding objects. Mocking frameworks that
         * can do magic to mock static method calls still can't do so for a system
         * class, so we need the indirection. In production, Hotspot should still
         * recognize that the call is 1-morphic and should still be willing to
         * inline it if necessary.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Streams.java

          void set(T value) {
            this.set = true;
            this.value = value;
          }
    
          T get() {
            /*
             * requireNonNull is safe because we call get() only if we've previously called set().
             *
             * (For further discussion of nullness, see the comment above the method.)
             */
            return requireNonNull(value);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       *
       * <p>This method assumes that the temporary volume is writable, has free inodes and free blocks,
       * and that it will not be called thousands of times per second.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#createTempDirectory}.
       *
       * @return the newly-created directory
       * @throws IllegalStateException if the directory could not be created, such as if the system does
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top