Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for modifiers (0.09 sec)

  1. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

    import org.gradle.buildinit.plugins.internal.modifiers.Language
    import org.gradle.buildinit.plugins.internal.modifiers.Language.CPP
    import org.gradle.buildinit.plugins.internal.modifiers.Language.GROOVY
    import org.gradle.buildinit.plugins.internal.modifiers.Language.JAVA
    import org.gradle.buildinit.plugins.internal.modifiers.Language.KOTLIN
    import org.gradle.buildinit.plugins.internal.modifiers.Language.SCALA
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                def oldNullability = hasNullableAnnotation(oldField)
                def newNullability = hasNullableAnnotation(newField)
    
                if (Modifier.isFinal(oldField.modifiers) && Modifier.isFinal(newField.modifiers)) {
                    if (!oldNullability && newNullability) {
                        errors << "From non-nullable to nullable breaking change"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

            if (Modifier.isPrivate(ctClass.modifiers)) false
            else queryKotlinMetadata(ctClass) { metadata ->
                when (metadata) {
                    is KotlinClassMetadata.FileFacade -> true
                    else -> false
                }
            }
    
        fun isKotlinInternal(ctClass: CtClass): Boolean =
            if (Modifier.isPrivate(ctClass.modifiers)) false
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            result.addAll(c.declaredMethods.findAll { isPublicApi(it) })
    
            collect(result, c.superclass)
        }
    
        private boolean isPublicApi(CtMethod method) {
            return Modifier.isPublic(method.modifiers) || Modifier.isProtected(method.modifiers)
        }
    
        private List<String> filterChangesToReport(CtClass c, Set<CtMethod> methods) {
            return methods.findAll { isFirstPublicClassInHierarchy(it, c) }*.longName.sort()
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        Set<MethodSignature> publicStaticMethods = newHashSet();
    
        for (Method method : clazz.getDeclaredMethods()) {
          int modifiers = method.getModifiers();
          if (isPublic(modifiers) && isStatic(modifiers)) {
            publicStaticMethods.add(new MethodSignature(method));
          }
        }
    
        return publicStaticMethods;
      }
    
      /** [descendant, ancestor) */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        Set<MethodSignature> publicStaticMethods = newHashSet();
    
        for (Method method : clazz.getDeclaredMethods()) {
          int modifiers = method.getModifiers();
          if (isPublic(modifiers) && isStatic(modifiers)) {
            publicStaticMethods.add(new MethodSignature(method));
          }
        }
    
        return publicStaticMethods;
      }
    
      /** [descendant, ancestor) */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. ci/official/README.md

    #      Ex. linux_x86        -- x86_64 Linux platform
    #      Ex. linux_x86_cuda   -- x86_64 Linux platform, with Nvidia CUDA support
    #      Ex. macos_arm64      -- arm64 MacOS platform
    # 3. Add modifiers. Some modifiers for local execution are:
    #      Ex. disk_cache -- Use a local cache
    #      Ex. public_cache -- Use TF's public cache (read-only)
    #      Ex. public_cache_push -- Use TF's public cache (read and write, Googlers only)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt

    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.buildinit.plugins.internal.ProjectLayoutSetupRegistry
    import org.gradle.buildinit.plugins.internal.modifiers.ModularizationOption
    import org.gradle.work.DisableCachingByDefault
    import javax.inject.Inject
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class GenerateSample : DefaultTask() {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

        }
    
        /**
         * Returns a list suited for the builders, i.e. null if not modified
         */
        private <T> List<T> injectList(List<T> list, Function<T, T> modifer) {
            List<T> newList = null;
            for (int i = 0; i < list.size(); i++) {
                T oldT = list.get(i);
                T newT = modifer.apply(oldT);
                if (newT != oldT) {
                    if (newList == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. clause/update.go

    package clause
    
    type Update struct {
    	Modifier string
    	Table    Table
    }
    
    // Name update clause name
    func (update Update) Name() string {
    	return "UPDATE"
    }
    
    // Build build update clause
    func (update Update) Build(builder Builder) {
    	if update.Modifier != "" {
    		builder.WriteString(update.Modifier)
    		builder.WriteByte(' ')
    	}
    
    	if update.Table.Name == "" {
    		builder.WriteQuoted(currentTable)
    	} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 737 bytes
    - Viewed (0)
Back to top