Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 758 for APPLY (0.02 seconds)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

        File asciiFile = getTestFile("ascii.txt");
        File dir = asciiFile.getParentFile();
        assertTrue(Files.isDirectory().apply(dir));
        assertFalse(Files.isFile().apply(dir));
    
        assertFalse(Files.isDirectory().apply(asciiFile));
        assertTrue(Files.isFile().apply(asciiFile));
      }
    
      /** Returns a root path for the file system. */
      private static File root() {
        return File.listRoots()[0];
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  2. build-logic-settings/version-catalogs/src/main/kotlin/gradlebuild.version-catalogs.settings.gradle.kts

            create("buildLibs") {
                from(files(basePath.file("build.versions.toml")))
            }
            val sharedVersions = basePath.file("shared-versions.properties").asFile.inputStream().use {
                Properties().apply { load(it) }
            }
            all {
                sharedVersions.forEach { key, value ->
                    version(key.toString(), value.toString())
                }
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/GitInfoPlugin.java

        @Inject
        public GitInfoPlugin(ProviderFactory factory, ObjectFactory objectFactory) {
            this.factory = factory;
            this.objectFactory = objectFactory;
        }
    
        @Override
        public void apply(Project project) {
            File rootDir = (project.getGradle().getParent() == null) ?
                    project.getRootDir() :
                    project.getGradle().getParent().getRootProject().getRootDir();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/groovy/elasticsearch.run.gradle

    import org.elasticsearch.gradle.testclusters.RunTask
    
    // gradle has an open issue of failing applying plugins in
    // precompiled script plugins (see https://github.com/gradle/gradle/issues/17004)
    // apply plugin: 'elasticsearch.internal-testclusters'
    
    testClusters.register("runTask") {
        testDistribution = providers.systemProperty('run.distribution').orElse('default').forUseAtConfigurationTime().get()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 23 07:45:59 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

            assertTrue(testLdapManager.applyCalled);
        }
    
        @Test
        public void test_load_modifiesUser() {
            // Test that load method modifies the user object through apply
            User user = createTestUser("testuser", "password123");
            testLdapManager.applyModifiesUser = true;
    
            User result = ldapChain.load(user);
    
            assertSame(user, result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        val enabled: Property<Boolean>
    )
    
    val errorproneExtension = project.extensions.create<ErrorProneProjectExtension>(
        "errorprone",
        objects.listProperty<String>(),
        objects.property<Boolean>()
    ).apply {
        disabledChecks.addAll(
            // ENABLE
            "PatternMatchingInstanceof", // We should enable this.
            "StatementSwitchToExpressionSwitch", // We should enable this.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt

                PropertiesUtils.store(properties, file, comment, Charsets.ISO_8859_1, "\n")
            }
    
            private
            fun propertiesFrom(data: Map<String, Any>): Properties = Properties().apply {
                putAll(data.map { (key, value) -> key to value.toString() })
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  8. docs/zh/llm-prompt.md

    - Keep ellipsis style consistent within each document, prefer `...` over  `……`.
    - Never change ellipsis in code, URLs, or CLI examples.
    
    ### Preferred translations / glossary
    
    Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 请求
    - response (HTTP): 响应
    - path operation: 路径操作
    - path operation function: 路径操作函数
    
    ### `///` admonitions
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. LICENSE

        root function must still compute square roots.)
    
    These requirements apply to the modified work as a whole.  If
    identifiable sections of that work are not derived from the Library,
    and can be reasonably considered independent and separate works in
    themselves, then this License, and its terms, do not apply to those
    sections when you distribute them as separate works.  But when you
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Jan 18 20:25:38 GMT 2016
    - 25.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingDequeTest.java

      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Deque.class,
                new Function<Deque, Deque<?>>() {
                  @Override
                  public Deque<?> apply(Deque delegate) {
                    return wrap((Deque<?>) delegate);
                  }
                });
      }
    
      private static <T> Deque<T> wrap(Deque<T> delegate) {
        return new ForwardingDeque<T>() {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top