Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for source2 (0.36 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/AbstractNativeComponentPluginTest.groovy

            lib.sources."$pluginName".source.srcDirs == [project.file("src/lib/$pluginName")] as Set
            lib.sources."$pluginName".exportedHeaders.srcDirs == [project.file("src/lib/headers")] as Set
    
            and:
            def sources = realizeSourceSets()
            sources as Set == (lib.sources as Set) + (exe.sources as Set)
        }
    
        def "can configure source set locations"() {
            given:
            dsl {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/custom-layout/groovy/build.gradle

            hello(NativeLibrarySpec) {
    // tag::c-sources[]
                sources {
                    c {
                        source {
                            srcDir "src/source"
                            include "**/*.c"
                        }
                        exportedHeaders {
                            srcDir "src/include"
                        }
                    }
                }
    // end::c-sources[]
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1014 bytes
    - Viewed (0)
  3. src/net/nss_test.go

    			want: &nssConf{
    				sources: map[string][]nssSource{
    					"foo": {{source: "a"}, {source: "b"}},
    				},
    			},
    		},
    		{
    			name: "comment1",
    			in:   "   foo:a    b#c\n",
    			want: &nssConf{
    				sources: map[string][]nssSource{
    					"foo": {{source: "a"}, {source: "b"}},
    				},
    			},
    		},
    		{
    			name: "comment2",
    			in:   "   foo:a    b #c \n",
    			want: &nssConf{
    				sources: map[string][]nssSource{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetDependenciesIntegrationTest.groovy

            main(NativeExecutableSpec) {
                sources {
                    c.lib \$.components.library.sources.c
                }
            }
        }
    }
    """
            when:
            succeeds "mainExecutable"
    
            then:
            executable("build/exe/main/main").exec().out == app.englishOutput
        }
    
        @ToBeFixedForConfigurationCache
        def "source dependency on source set of different type"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSource.java

            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
              return Optional.absent();
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteSource.java

       * Returns a view of a slice of this byte source that is at most {@code length} bytes long
       * starting at the given {@code offset}. If {@code offset} is greater than the size of this
       * source, the returned source will be empty. If {@code offset + length} is greater than the size
       * of this source, the returned source will contain the slice starting at {@code offset} and
       * ending at the end of this source.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/FunctionalSourceSetIntegrationTest.groovy

                            }
                        }
                    }
                }
            '''
    
            when:
            succeeds "printSourceDisplayName"
    
            then:
            output.contains "sources display name: SomeJava source 'myJavaSourceSet'"
        }
    
        def "can reference sourceSet elements using specialized type in a rule"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseLinkedResourceIntegrationTest.groovy

        def "can reference linked resources as source folders"() {
            given:
            multiProjectWithSiblingSourceFolders()
            when:
            run("eclipse")
            then:
    
            classpath("projectA").sources[0] == "src"
            classpath("projectA").sources[1] == "projectB-src"
            classpath("projectA").sources[2] == "sibling-source"
            classpath("projectA").sources[3] == "source-c"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/MutableModuleSources.java

            MutableModuleSources sources = new MutableModuleSources();
            if (source != null) {
                sources.add(source);
            }
            return sources;
        }
    
        public static MutableModuleSources of(ModuleSources sources) {
            if (sources instanceof MutableModuleSources) {
                return (MutableModuleSources) sources;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. ci/official/utilities/setup.sh

      echo 'already sourced a TFCI env file with "set -a; source <path>; set +a".'
      echo 'If you have not, you will see a lot of undefined variable errors.'
    else
      FROM_ENV=$(mktemp)
      # "export -p" prints a list of environment values in a safe-to-source format,
      # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash.
      export -p | grep TFCI > "$FROM_ENV"
    
      # Source the default ci values
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 26 00:33:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top