Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for Closure (0.08 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.model;
    
    import groovy.lang.Closure;
    import org.gradle.api.Action;
    import org.gradle.api.GradleException;
    import org.gradle.api.UnknownDomainObjectException;
    
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.File;
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy

            expect:
            typeNameResolver.resolve('Set', classMetaData) == 'java.util.Set'
            typeNameResolver.resolve('File', classMetaData) == 'java.io.File'
            typeNameResolver.resolve('Closure', classMetaData) == 'groovy.lang.Closure'
            typeNameResolver.resolve('BigDecimal', classMetaData) == 'java.math.BigDecimal'
            typeNameResolver.resolve('BigInteger', classMetaData) == 'java.math.BigInteger'
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  3. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * If we would have used `Closure`, we must instead use `Action<T>`, `Spec<T>`, `Callable<T>`, or `Transformer<OUT, IN>`.
    * We need to ensure all APIs that are exposed in the Groovy DSL go through runtime decoration.
    Runtime decoration mixes in methods that use Groovy Closures to maintain consistent behavior in Groovy DSL.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Mar 10 20:38:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. .ci/init.gradle

    
    if (USE_ARTIFACTORY) {
      final Map<String, String> artifactoryCredentials = vault.logical()
        .read("secret/elasticsearch-ci/artifactory.elstc.co")
        .getData()
      logger.info("Using elastic artifactory repos")
      Closure configCache = {
        return {
          name "artifactory-gradle-release"
          url "https://artifactory.elstc.co/artifactory/gradle-release"
          credentials {
            username artifactoryCredentials.get("username")
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Wed Nov 13 10:14:04 UTC 2019
    - 3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            TestDomainObject value1 = new TestDomainObject('a')
            TestDomainObject value2 = new TestDomainObject('a')
            repository.put('class1', value1)
            repository.put('class2', value2)
            Closure cl = Mock()
    
            when:
            repository.each(cl)
    
            then:
            1 * cl.call(['class1', value1] as Object[])
            1 * cl.call(['class2', value2] as Object[])
            0 * cl._
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

                throw new SmbException(rpc.retval, false);
            }
        }
    
        /**
         * Closes this SAM domain handle.
         *
         * @throws IOException if an I/O error occurs during handle closure
         */
        public void close() throws IOException {
            final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

                handle.sendrecv(rpc2);
            }
        }
    
        /**
         * Closes this SAM policy handle.
         *
         * @throws IOException if an I/O error occurs during handle closure
         */
        public void close() throws IOException {
            final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. ci/official/requirements_updater/README.md

    ### Specifying Python dependencies
    
    During bazel build all TensorFlow's Python dependencies are pinned to their
    specific versions. This is necessary to ensure reproducibility of the build.
    The pinned versions of the full transitive closure of TensorFlow's dependencies
    together with their corresponding hashes are specified in
    `requirements_lock_<python version>.txt` files (e.g.
    `requirements_lock_3_12.txt` for `Python 3.12`).
    
    To update the lock files, make sure
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Jun 29 00:19:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Supplier.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Legacy version of {@link java.util.function.Supplier java.util.function.Supplier}. Semantically,
     * this could be a factory, generator, builder, closure, or something else entirely. No guarantees
     * are implied by this interface.
     *
     * <p>The {@link Suppliers} class provides common suppliers and related utilities.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         * If an error occurs during file deletion, it is logged but not thrown to avoid
         * masking exceptions from the main operation.
         *
         * @throws IOException if an I/O error occurs during stream closure
         */
        @Override
        public void close() throws IOException {
            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top