Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 2,396 for create (0.09 sec)

  1. cmd/os-reliable.go

    package cmd
    
    import (
    	"fmt"
    	"os"
    	"path"
    )
    
    // Wrapper functions to os.RemoveAll, which calls reliableRemoveAll
    // this is to ensure that if there is a racy parent directory
    // create in between we can simply retry the operation.
    func removeAll(dirPath string) (err error) {
    	if dirPath == "" {
    		return errInvalidArgument
    	}
    
    	if err = checkPathLength(dirPath); err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            warnings.simplefilter("always")
            # No heroes before creating
            response = client.get("heroes/")
            assert response.status_code == 200, response.text
            assert response.json() == []
    
            # Create a hero
            response = client.post(
                "/heroes/",
                json={
                    "id": 9000,
                    "name": "Dead Pond",
                    "age": 30,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                    new TestStringMultisetGenerator() {
    
                      @Override
                      protected Multiset<String> create(String[] elements) {
                        return new StandardImplForwardingMultiset<>(
                            LinkedHashMultiset.create(asList(elements)));
                      }
                    })
                .named("ForwardingMultiset[LinkedHashMultiset] with standard " + "implementations")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/MediaType.java

        return create(AUDIO_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "font" type and the given subtype.
       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createFontType(String subtype) {
        return create(FONT_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "image" type and the given subtype.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                }
                boolean created = false;
                try (ImageInputStream input = ImageIO.createImageInputStream(responseData.getResponseBody())) {
                    switch (saveImage(input, outputFile)) {
                    case OK:
                        created = true;
                        break;
                    case FAILED:
                        logger.warn("Failed to create thumbnail: {} -> {}", thumbnailId, responseData.getUrl());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dataclasses/test_tutorial003.py

            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/authors/{author_id}/items/": {
                    "post": {
                        "summary": "Create Author Items",
                        "operationId": "create_author_items_authors__author_id__items__post",
                        "parameters": [
                            {
                                "required": True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    open class ErrorProneProjectExtension(
        val disabledChecks: ListProperty<String>
    )
    
    open class ErrorProneSourceSetExtension(
        val enabled: Property<Boolean>
    )
    
    val errorproneExtension = project.extensions.create<ErrorProneProjectExtension>("errorprone", project.objects.listProperty<String>())
    errorproneExtension.disabledChecks.addAll(
        // DISCUSS
        "EnumOrdinal", // This violation is ubiquitous, though most are benign.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. .github/workflows/release-branch-cherrypick.yml

              echo "TITLE=$(git log -1 ${{ github.event.inputs.git_commit }} --format="%s")" >> "$GITHUB_OUTPUT"
        - name: Create Pull Request with changes
          uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
          with:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        @Override
        public List<Integer> create(Object... elements) {
          Integer[] array = new Integer[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Integer) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        @Override
        public List<Double> create(Object... elements) {
          Double[] array = new Double[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Double) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top