Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2161 - 2170 of 4,019 for pull (0.08 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    import okhttp3.curl.Main
    import okhttp3.internal.http.StatusLine
    import okio.sink
    
    internal fun Main.commonCreateRequest(): Request {
      val request = Request.Builder()
    
      val requestMethod = method ?: if (data != null) "POST" else "GET"
    
      val url = url ?: throw IOException("No url provided")
    
      request.url(url)
    
      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

        private Artifact newArtifact(String aid) {
            return new DefaultArtifact("group", aid, VersionRange.createFromVersion("1.0"), "test", "jar", "tests", null);
        }
    
        @Test
        void testIsSnapshot() {
            assertFalse(ArtifactUtils.isSnapshot(null));
            assertFalse(ArtifactUtils.isSnapshot(""));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-SNAPSHOT"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                override fun afterTest(test: TestDescriptor, result: TestResult) = Unit
                override fun beforeSuite(suite: TestDescriptor) {
                    if (suite.parent == null) {
                        forEachJavaProcess { pid, _ ->
                            // processes that exist before the test suite execution should
                            // not trigger a warning
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java

        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResultData#getDataAsString()
         */
        @Override
        public String getDataAsString() {
            if (data == null) {
                return null;
            }
            try {
                return new String(data, StringUtil.isNotBlank(encoding) ? encoding : Constants.UTF_8);
            } catch (final UnsupportedEncodingException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

    /**
     * Resolve relative file path against the given base directory
     */
    public class ResolveFile {
        public static File resolveFile(File file, String baseDirectory) {
            if (file == null) {
                return null;
            } else if (file.isAbsolute()) {
                return file;
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dataclasses/test_tutorial002.py

                            ),
                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                @Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .groupId(nonNull(coordinates, "coordinates cannot be null").getGroupId())
                    .artifactId(coordinates.getArtifactId())
                    .version(coordinates.getVersionConstraint().asString())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/BaseCIFSTest.java

        }
    
    
        protected String getTestShareURL () {
            String testShare = getProperties().get(TestProperties.TEST_SHARE_URL_MAIN);
    
            if ( testShare != null ) {
                return testShare;
            }
    
            testShare = getTestShare();
            return "smb://" + getTestServer() + "/" + testShare + "/";
        }
    
    
        protected String getDFSRootURL () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      public void testAddAtIndex_nullSupported() {
        getList().add(0, null);
        expectAdded(0, (E) null);
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testAddAtIndex_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getList().add(0, null));
        expectUnchanged();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

                if (!isIncubating((JApiHasAnnotations) member)) {
                    return null;
                }
                if (member instanceof JApiMethod && isOverride((JApiMethod) member)) {
                    return null;
                }
                return Violation.info(member, "New public API in " + getCurrentVersion() + " (@Incubating)");
            }
            return null;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top