Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 772 for accepted (0.08 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

        @BeforeEach
        fun setUp() {
            projectDir.resolve("src").resolve("changes").resolve("accepted-changes").mkdirs()
            firstAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/accepted-public-api-changes.json")
            secondAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/second-accepted-public-api-changes.json")
    
            projectDir.resolve("build.gradle.kts")
                .writeText(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Nov 29 14:03:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        val information: List<ReportMessage>,
        val accepted: List<ReportMessage>
    ) {
    
        val isEmpty: Boolean
            get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty()
    
        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
                listOf("Errors" to errors, "Warnings" to warnings, "Information" to information, "Accepted" to accepted).forEach { (name, list) ->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

                    includeModule('gradle', 'gradle')
                }
            }
        }
    }
    
    // We support multiple accepted public api changes JSON files, but "accepted-public-api-changes.json"
    // is the "main" one that is also shown in HTML report
    def apiChangesJsonDirectory = layout.projectDirectory.dir("src/changes/accepted-changes")
    
    def compatibilityBaselineVersion = gradleModule.identity.releasedVersions.get().mostRecentRelease.version
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DosFileFilterTest.java

            // When the accept method is called
            boolean result = dosFileFilter.accept(mockFile);
    
            // Then the result should be as expected
            if (expectedResult) {
                assertTrue(result, "File should be accepted");
            } else {
                assertFalse(result, "File should not be accepted");
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileFilterTest.java

            verify(smbFile, times(1)).length();
    
            // positive size -> accept
            reset(smbFile);
            when(smbFile.length()).thenReturn(42L);
            assertTrue(filter.accept(smbFile), "Positive size should be accepted");
            verify(smbFile, times(1)).length();
            verifyNoMoreInteractions(smbFile);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                            alert("You must enter a reason to accept all changes.");
                            return;
                        }
    
                        var textToWrite = JSON.stringify(appendErrorCorrections(reason), null, 4) + "\\n";
                        var textFileAsBlob = new Blob([textToWrite], {type:'text/plain'});
                        var fileNameToSaveAs = 'accepted-public-api-changes.json';
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Feb 07 20:38:43 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun assertHasAccepted(vararg accepted: String) {
                assertThat("Has accepted", richReport.accepted.map { it.message }, inAnyOrder(accepted))
            }
    
            fun assertHasAccepted(vararg accepted: Pair<String, List<String>>) {
                assertThat("Has accepted", richReport.accepted, inAnyOrder(accepted.map { ReportMessage(it.first, it.second) }))
            }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

       * empty list of cookies for the network request.
       *
       * Simple implementations will return the accepted cookies that have not yet expired and that
       * [match][Cookie.matches] [url].
       */
      fun loadForRequest(url: HttpUrl): List<Cookie>
    
      companion object {
        /** A cookie jar that never accepts any cookies. */
        @JvmField
        val NO_COOKIES: CookieJar = NoCookies()
    
        private class NoCookies : CookieJar {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

    /**
     * Abstract base class for [Task][org.gradle.api.Task]s that verify and manipulate the given accepted API changes file.
     */
    @CacheableTask
    abstract class AbstractAcceptedApiChangesMaintenanceTask : DefaultTask() {
    
        /**
         * A directory that contains jsons with accepted API changes.
         * Any json is a directory is considered to contain accepted API changes.
         */
        @get:InputDirectory
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. internal/http/listener.go

    		for {
    			conn, err := ln.Accept()
    			select {
    			case listener.acceptCh <- acceptResult{conn, err, idx}:
    			case <-listener.ctxDoneCh:
    				return
    			}
    		}
    	}
    
    	// Start separate goroutine for each listener to handle connection.
    	for idx, ln := range listener.listeners {
    		go handleListener(idx, ln)
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top