Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 403 for getPost (0.13 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilderSpec.groovy

            resolvedConf("leaf1", [])
            resolvedConf("leaf2", [])
            resolvedConf("leaf3", [])
            resolvedConf("leaf4", [])
    
            when:
            def result = builder.getRoot(id("root"))
    
            then:
            printGraph(result) == """x:root:1
      x:mid1:1 [root]
        x:leaf1:1 [mid1]
        x:leaf2:1 [mid1]
      x:mid2:1 [root]
        x:leaf3:1 [mid2]
        x:leaf4:1 [mid2]
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/plugins/buildServiceFromWorkAction/groovy/buildSrc/src/main/java/WebServer.java

        interface Params extends BuildServiceParameters {
            Property<Integer> getPort();
    
            DirectoryProperty getResources();
        }
    
        private final URI uri;
    
        public WebServer() throws URISyntaxException {
            // Use the parameters
            int port = getParameters().getPort().get();
            uri = new URI(String.format("https://localhost:%d/", port));
    
            // Start the server ...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. cmd/warm-backend-s3.go

    func (s3 *warmBackendS3) ToObjectError(err error, params ...string) error {
    	object := ""
    	if len(params) >= 1 {
    		object = params[0]
    	}
    
    	return ErrorRespToObjectError(err, s3.Bucket, s3.getDest(object))
    }
    
    func (s3 *warmBackendS3) getDest(object string) string {
    	destObj := object
    	if s3.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", s3.Prefix, object)
    	}
    	return destObj
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

         * @throws Exception
         */
        @Test
        public void testGetLast() throws Exception {
            try {
                list.getLast();
                fail();
            } catch (final NoSuchElementException ex) {
                System.out.println(ex);
            }
            list.addLast("1");
            assertThat(list.getLast(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

            isExists = false;
    
            try {
                if( url.getHost().length() == 0 ) {
                } else if( share == null ) {
                    if( getType() == TYPE_WORKGROUP ) {
                        UniAddress.getByName( url.getHost(), true );
                    } else {
                        UniAddress.getByName( url.getHost() ).getHostName();
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

          protected ListIterator<E> newTargetIterator() {
            resetCollection();
            return getList().listIterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testListIterator_tooLow() {
        try {
          getList().listIterator(-1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionPerformanceTestHistory.java

            }
    
            @Override
            public String getOperatingSystem() {
                return result.getOperatingSystem();
            }
    
            @Override
            public String getHost() {
                return result.getHost();
            }
    
            @Override
            public String getJvm() {
                return result.getJvm();
            }
    
            @Nullable
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleBindingTest.groovy

            @Model
            String s2() {
                "bar"
            }
        }
    
        def "error message produced when unpathed reference matches more than one item"() {
            when:
            modelRegistry.getRoot().applyToSelf(AmbiguousBindingsInOneSource)
            modelRegistry.bindAllReferences()
    
            then:
            def e = thrown(InvalidModelRuleException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        assertTrue("add(present) should return true", getList().add(e0()));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAdd_unsupportedPresent() {
        try {
          getList().add(e0());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get("/api/admin/dict").asString();
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
    
            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
                assertTrue(item.containsKey("type"));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top