Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 969 for val3 (0.02 seconds)

  1. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(1, ndrBuffer.getLength());
            assertEquals((byte) 0xAB, buffer[0]);
    
            ndrBuffer.setIndex(0); // Reset index for reading
            int val = ndrBuffer.dec_ndr_small();
            assertEquals(0xAB, val);
            assertEquals(1, ndrBuffer.getIndex());
        }
    
        @Test
        void testEncDecNdrShort() {
            ndrBuffer.enc_ndr_short(0xABCD);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

    class ApplyDefaultConfigurationTest {
        init {
            DslContext.initForTest()
        }
    
        @MockK(relaxed = true)
        lateinit var buildType: BaseGradleBuildType
    
        private val steps = BuildSteps()
    
        private val buildModel =
            CIBuildModel(
                projectId = "Gradle_Check",
                branch = VersionedSettingsBranch("master"),
                buildScanTags = listOf("Check"),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 07:29:52 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    import okhttp3.internal.format
    
    class RecordingProxySelector : ProxySelector() {
      @JvmField val proxies = mutableListOf<Proxy>()
    
      val requestedUris = mutableListOf<URI>()
      val failures = mutableListOf<String>()
    
      override fun select(uri: URI): List<Proxy> {
        requestedUris.add(uri)
        return proxies
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateSmokeTestedPluginsVersions.kt

    abstract class UpdateSmokeTestedPluginsVersions : AbstractVersionsUpdateTask() {
    
        @TaskAction
        fun update() {
            val pluginIds = getPluginIds()
            val fetchedVersions = fetchLatestVersions(pluginIds)
            updateProperties(fetchedVersions)
        }
    
        private
        fun getPluginIds(): List<String> {
            val props = Properties()
            propertiesFile.get().asFile.reader().use { input ->
                props.load(input)
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 18 16:06:17 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        java
    }
    
    val validateTaskName = "validatePlugins"
    val reportFileName = "task-properties/report.txt"
    
    tasks.register<ValidatePlugins>(validateTaskName) {
        val main = project.sourceSets.main.get()
        classes.from(main.output)
        classpath.from(main.runtimeClasspath)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1008 bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {},
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
        override val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {},
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 560 bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

      @Test fun testDoubleQuotesAreSpecial() {
        val mediaType = parse("text/plain;a=\";charset=utf-8;b=\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testSingleQuotesAreNotSpecial() {
        val mediaType = parse("text/plain;a=';charset=utf-8;b='")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      @Test fun testParseWithSpecialCharacters() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

    import java.io.File
    
    
    class KotlinSourceParser {
    
        data class ParsedKotlinFiles(
    
            val ktFiles: List<KtFile>,
    
            private
            val disposable: Disposable
    
        ) : AutoCloseable {
    
            override fun close() {
                Disposer.dispose(disposable)
            }
        }
    
        private
        val messageCollector: MessageCollector
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 16 08:22:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

      companion object {
        private val activeLoggers = mutableListOf<Logger>()
    
        fun configureLogging(
          debug: Boolean,
          showHttp2Frames: Boolean,
          sslDebug: Boolean,
        ) {
          if (debug || showHttp2Frames || sslDebug) {
            if (sslDebug) {
              System.setProperty("javax.net.debug", "")
            }
            LogManager.getLogManager().reset()
            val handler =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

    import okio.Path
    import okio.Sink
    
    class FaultyFileSystem constructor(
      delegate: FileSystem?,
    ) : ForwardingFileSystem(delegate!!) {
      private val writeFaults: MutableSet<Path> = LinkedHashSet()
      private val deleteFaults: MutableSet<Path> = LinkedHashSet()
      private val renameFaults: MutableSet<Path> = LinkedHashSet()
    
      fun setFaultyWrite(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top