Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 209 for getDirs (0.13 sec)

  1. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

         */
        @Test
        public void testGetFirst() throws Exception {
            try {
                list.getFirst();
                fail();
            } catch (final NoSuchElementException ex) {
                System.out.println(ex);
            }
            list.addFirst("1");
            assertThat(list.getFirst(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/NativeBinarySpecTest.groovy

                getLibs() >> [lib]
            }
            binary.inputs.add sourceSet
    
            1 * resolver.resolve({ NativeBinaryResolveResult result ->
                result.allResolutions*.input == [lib]
            }) >> { NativeBinaryResolveResult result ->
                result.allResolutions[0].nativeDependencySet = dependency
            }
    
            then:
            binary.getLibs(sourceSet) == [dependency]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileCollectionMatchingTaskBuilder.java

                        public boolean apply(DirectoryTree input) {
                            return input.getDir().exists();
                        }
                    })
            );
    
            for (DirectoryTree fileTree : existing) {
                dynamicObject.invokeMethod(childNodeName, Collections.singletonMap("location", fileTree.getDir()));
            }
    
            dynamicObject.invokeMethod("or", new Closure<Void>(this) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

                            .id(TextUtil.screamingSnakeToKebabCase(REDUNDANT_GETTERS), "Property has redundant getters", GradleCoreProblemGroup.validation().property()) // TODO (donat) missing test coverage
                            .contextualLabel(
                                String.format(
                                    "has redundant getters: '%s()' and '%s()'",
                                    previouslySeenBuilder.getter.getName(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/schemaFromProperties.kt

    import kotlin.reflect.full.memberFunctions
    import kotlin.reflect.full.memberProperties
    import kotlin.reflect.full.primaryConstructor
    
    
    /**
     * Extracts schema properties from Kotlin properties and Java getters returning the type [Property].
     * Ensures that the return types of these properties get discovered during type discovery.
     */
    internal
    class GradlePropertyApiAnalysisSchemaComponent : AnalysisSchemaComponent {
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractNativeBinarySpec.java

            return toolsByName.get(name);
        }
    
        @Override
        public Collection<NativeDependencySet> getLibs() {
            return resolve(getInputs().withType(DependentSourceSet.class)).getAllResults();
        }
    
        @Override
        public Collection<NativeDependencySet> getLibs(DependentSourceSet sourceSet) {
            return resolve(Collections.singleton(sourceSet)).getAllResults();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/integtests/GroovyToJavaConversionIntegrationTest.groovy

                            def properties = org.gradle.internal.reflect.ClassInspector.inspect(convertedClass).properties
                            properties.each { prop ->
                                if (prop.getters.find { it.declaringClass == convertedClass }) {
                                    println "Checking property \${prop.name} on \${convertedClass.name}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy

            '''
    
            then:
            succeeds "echo"
    
            and:
            output.contains("name: foo")
        }
    
        def "managed type implemented as abstract class can have generative getters"() {
            when:
            buildScript '''
                @Managed
                abstract class Person {
                    abstract String getFirstName()
                    abstract void setFirstName(String firstName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                            SuggestUtil.deleteScrollContext(client, scrollId);
                        }
                    }
                    scrollId = response.getScrollId();
                    final SearchHit[] hits = response.getHits().getHits();
                    if (scrollId == null || hits.length == 0) {
                        SuggestUtil.deleteScrollContext(client, scrollId);
                        isFinished.set(true);
                    }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

                    .setRescoreQueryWeight(1);
        }
    
        protected PopularWordsResponse createResponse(final SearchResponse searchResponse) {
            final SearchHit[] hits = searchResponse.getHits().getHits();
            final List<String> words = new ArrayList<>();
            final List<SuggestItem> items = new ArrayList<>();
    
            final String index;
            if (hits.length > 0) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top