Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for isMain (0.17 sec)

  1. src/cmd/go/testdata/script/cover_import_main_loop.txt

    -- go.mod --
    module importmain
    
    go 1.16
    -- ismain/main.go --
    package main
    
    import _ "importmain/test"
    
    func main() {}
    -- test/test.go --
    package test
    -- test/test_test.go --
    package test_test
    
    import "testing"
    import _ "importmain/ismain"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 532 bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/internal/DefaultJavaFeatureSpec.java

            }
    
            if (capabilities.isEmpty()) {
                capabilities.add(new ProjectDerivedCapability(project, name));
            }
    
            if (SourceSet.isMain(sourceSet)) {
                DeprecationLogger.deprecateBehaviour(String.format("The '%s' feature was created using the main source set.", name))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 02 01:52:06 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/DefaultBinaryNamingScheme.java

                return this;
            }
            return withVariantDimension(value.getName());
        }
    
        @Override
        public BinaryNamingScheme withRole(String role, boolean isMain) {
            return new DefaultBinaryNamingScheme(parentName, binaryName, binaryType, role, isMain, dimensions);
        }
    
        @Override
        public BinaryNamingScheme withBinaryType(@Nullable String type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/internal/codesign/codesign.go

    // textOff and textSize is the file offset and size of the text segment.
    // isMain is true if this is a main executable.
    // id is the identifier used for signing (a field in CodeDirectory blob, which
    // has no significance in ad-hoc signing).
    func Sign(out []byte, data io.Reader, id string, codeSize, textOff, textSize int64, isMain bool) {
    	nhashes := (codeSize + pageSize - 1) / pageSize
    	idOff := int64(codeDirectorySize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/BinaryNamingScheme.java

        /**
         * Creates a copy of this scheme, replacing the role. The 'role' refers to the role that the binary plays within its component.
         */
        BinaryNamingScheme withRole(String role, boolean isMain);
    
        /**
         * Creates a copy of this scheme, replacing the binary type.
         */
        BinaryNamingScheme withBinaryType(String type);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java

            this.project = project;
            this.extendProductionCode = extendProductionCode;
    
            // TODO: Deprecate allowing user to extend main feature.
            if (extendProductionCode && !SourceSet.isMain(sourceSet)) {
                throw new GradleException("Cannot extend main feature if source set is not also main.");
            }
    
            this.jvmPluginServices = project.getServices().get(JvmPluginServices.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/tasks/SourceSet.java

         * @since 6.0
         */
        String getSourcesElementsConfigurationName();
    
        /**
         * Determines if this source set is the main source set
         *
         * @since 6.7
         */
        static boolean isMain(SourceSet sourceSet) {
            return MAIN_SOURCE_SET_NAME.equals(sourceSet.getName());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. src/math/cmplx/isnan.go

    // license that can be found in the LICENSE file.
    
    package cmplx
    
    import "math"
    
    // IsNaN reports whether either real(x) or imag(x) is NaN
    // and neither is an infinity.
    func IsNaN(x complex128) bool {
    	switch {
    	case math.IsInf(real(x), 0) || math.IsInf(imag(x), 0):
    		return false
    	case math.IsNaN(real(x)) || math.IsNaN(imag(x)):
    		return true
    	}
    	return false
    }
    
    // NaN returns a complex “not-a-number” value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 598 bytes
    - Viewed (0)
  9. src/math/cmplx/cmath_test.go

    		}
    		if math.IsNaN(imag(v.in)) || math.IsNaN(imag(v.want)) {
    			// Negating NaN is undefined with regard to the sign bit produced.
    			continue
    		}
    		// Asin(Conj(z))  == Asin(Sinh(z))
    		if f := Asin(Conj(v.in)); !cAlike(Conj(v.want), f) && !cAlike(v.in, Conj(v.in)) {
    			t.Errorf("Asin(%g) = %g, want %g", Conj(v.in), f, Conj(v.want))
    		}
    		if math.IsNaN(real(v.in)) || math.IsNaN(real(v.want)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  10. test/cmplxdivide.go

    package main
    
    import (
    	"fmt"
    	"math"
    )
    
    func calike(a, b complex128) bool {
    	if imag(a) != imag(b) && !(math.IsNaN(imag(a)) && math.IsNaN(imag(b))) {
    		return false
    	}
    
    	if real(a) != real(b) && !(math.IsNaN(real(a)) && math.IsNaN(real(b))) {
    		return false
    	}
    
    	return true
    }
    
    func main() {
    	bad := false
    	for _, t := range tests {
    		x := t.f / t.g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 22:45:17 UTC 2017
    - 868 bytes
    - Viewed (0)
Back to top