Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 2,128 for Creates (0.14 seconds)

  1. cmd/test-utils_test.go

    }
    
    // getRandomDisks - Creates a slice of N random disks, each of the form - minio-XXX
    func getRandomDisks(n int) ([]string, error) {
    	var erasureDisks []string
    	for range n {
    		path, err := os.MkdirTemp(globalTestTmpDir, "minio-")
    		if err != nil {
    			// Remove directories created so far.
    			removeRoots(erasureDisks)
    			return nil, err
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/additional-status-codes.md

    But you also want it to accept new items. And when the items didn't exist before, it creates them, and returns an HTTP status code of 201 "Created".
    
    To achieve that, import `JSONResponse`, and return your content there directly, setting the `status_code` that you want:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.jvm-compile.gradle.kts

    plugins {
        id("java-base")
    }
    
    // Creates the `jvmCompile` extension, which is a container for JvmCompilation instances.
    // JvmCompilation instances control the way each source set is compiled -- most importantly,
    // it controls the JVM version of the compilation. This allows each source set within a project
    // to compile to different JVM versions.
    
    val jvmCompile = extensions.create<JvmCompileExtension>(JvmCompileExtension.NAME)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 13:46:12 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                    }
                    Collections.reverse(list);
                    return list;
                  }
    
                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestSetGenerator.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Set<E> create(Object... elements);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

      }
    
      @Override
      public List<Character> create(Object... elements) {
        Character[] array = new Character[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (Character) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/MoreObjects.java

        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
        throw new NullPointerException("Both parameters are null");
      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
       *
       * {@snippet :
       * // Returns "ClassName{}"
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester;
    import com.google.common.collect.testing.testers.ConcurrentMapReplaceTester;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java

     *
     */
    public class DuplicateProjectException extends MavenExecutionException {
    
        private Map<String, List<File>> collisions;
    
        /**
         * Creates a new exception with specified details.
         *
         * @param message The message text, may be {@code null}.
         * @param collisions The POM files of the projects that collided, indexed by their g:a:v, may be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top