Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 745 for logic (0.02 seconds)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

    import org.gradle.tooling.events.task.TaskFinishEvent
    import org.gradle.tooling.events.task.TaskOperationResult
    import java.io.Serializable
    
    /**
     * A BuildService which monitors a few tasks (in both build-logic and main build) and collects information for Build Scan.
     * It's currently implemented by two use cases:
     * 1. Collect cache misses for compilation tasks and publish a `CACHE_MISS` tag for a Build Scan.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. .github/PULL_REQUEST_TEMPLATE.md

    - [ ] Provide integration tests (under `<subproject>/src/integTest`) to verify changes from a user perspective.
    - [ ] Provide unit tests (under `<subproject>/src/test`) to verify logic.
    - [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes.
    - [ ] Ensure that tests pass sanity check: `./gradlew sanityCheck`.
    - [ ] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest`.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 13 22:36:19 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        // Integration test with actual MD5 to verify HMAC calculation logic
        @Test
        void testHMACT64WithActualMD5() throws NoSuchAlgorithmException {
            // This test uses a real MD5 instance to verify the HMAC calculation logic
            // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
            // instead of being hashed when it exceeds the block size.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

     * <p>
     * This annotation can be used on static methods to programmatically create and configure
     * beans that will be managed by the dependency injection container. It's particularly
     * useful when the bean creation requires complex logic or when the bean needs to be
     * configured based on runtime conditions.
     * <p>
     * Example usage:
     * <pre>
     * public class Providers {
     *     {@literal @}Provides
     *     {@literal @}Singleton
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. settings.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    pluginManagement {
      includeBuild("build-logic")
      repositories {
        mavenCentral()
        gradlePluginPortal()
        google()
      }
    }
    
    rootProject.name = "okhttp-parent"
    
    dependencyResolutionManagement {
      repositories {
        mavenCentral()
        google()
      }
    }
    
    plugins {
      id("org.gradle.toolchains.foojay-resolver-convention") version("1.0.0")
    }
    
    include(":mockwebserver")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  6. build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts

    project.tasks.withType<AnimalSniffer> {
      val hasMavenPublish = project.extensions.findByType<MavenPublishBaseExtension>() != null
      onlyIf {
        hasMavenPublish
      }
    }
    
    dependencies {
      // Logic for signatures should be moved to the applying module or configured via extension
      // For now, we'll keep the standard ones and allow modules to add more
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Represents the list of core extensions configured at one source. The list is validated (are GA unique), but no
     * other logic than that is applied.
     *
     * @since 4.0.0
     * @param source The source file of core extensions, is never {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 13 12:50:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for the SmbFile class.
     * This class focuses on testing the logic of SmbFile without actual network communication,
     * using mocks where necessary.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbFileTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

        private static final String DESCR = "WrLeh\u0000B13BWz\u0000";
    
        NetShareEnum() {
            command = SMB_COM_TRANSACTION;
            subCommand = NET_SHARE_ENUM; // not really true be used by upper logic
            name = "\\PIPE\\LANMAN";
            maxParameterCount = 8;
    
            //        maxDataCount = 4096; why was this set?
            maxSetupCount = (byte) 0x00;
            setupCount = 0;
            timeout = 5000;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

    }
    
    group = "org.gradle"
    version = LazyProjectVersion(gradleModule.identity.version.map { it.version })
    
    /**
     * Returns the trimmed contents of the file at the given [path] after
     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): Provider<String> =
        providers.fileContents(repoRoot().file(path)).asText.map { it.trim() }
    
    // TODO Simplify the buildTimestamp() calculation if possible
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:46:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top