Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for notifiers (0.23 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

            int modifiers = source.getModifiers();
    
            if (Modifier.isInterface(modifiers)) {
                problems.add("Must be a class, not an interface");
            }
    
            if (source.getEnclosingClass() != null) {
                if (Modifier.isStatic(modifiers)) {
                    if (Modifier.isPrivate(modifiers)) {
                        problems.add("Class cannot be private");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

                new Predicate<Field>() {
                  @Override
                  public boolean apply(Field input) {
                    int modifiers = input.getModifiers();
                    return isPublic(modifiers)
                        && isStatic(modifiers)
                        && isFinal(modifiers)
                        && MediaType.class.equals(input.getType());
                  }
                });
      }
    
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/memory/discovery.go

    		DefaultAddress: vip,
    		Ports: model.PortList{
    			{
    				Name:     "http-main",
    				Port:     port,
    				Protocol: protocol.HTTP,
    			},
    		},
    	})
    }
    
    // AddService adds an in-memory service and notifies
    func (sd *ServiceDiscovery) AddService(svc *model.Service) {
    	sd.mutex.Lock()
    	svc.Attributes.ServiceRegistry = provider.Mock
    	var old *model.Service
    	event := model.EventAdd
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

    /**
     * A wrapper for {@link Properties} that notifies a listener about accesses.
     */
    @SuppressWarnings("UnsynchronizedOverridesSynchronized")
    // TODO(mlopatkin) we need a better synchronization guarantees here. Just sprinkling synchronized won't help.
    public class AccessTrackingProperties extends Properties {
        /**
         * A listener that is notified about reads and modifications of the Properties instance.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

            readObjectHierarchy.computeIfAbsent(type) {
                readObjectMethodHierarchyFrom(it.allMethods())
            }
    }
    
    
    internal
    fun Method.isReadResolve() =
        !isStatic(modifiers)
            && parameterCount == 0
            && returnType == java.lang.Object::class.java
            && name == "readResolve"
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                List<MetaProperty> classProperties = getMetaClass().getProperties();
                for (MetaProperty metaProperty : classProperties) {
                    int modifiers = metaProperty.getModifiers();
                    if (Modifier.isStatic(modifiers) || !Modifier.isPublic(modifiers)) {
                        // Work around https://issues.apache.org/jira/browse/GROOVY-10555
                        continue;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. src/os/signal/signal_test.go

    	for range sig {
    		// Receive signals until the sender closes sig.
    	}
    }
    
    func testCancel(t *testing.T, ignore bool) {
    	// Ask to be notified on c1 when a SIGWINCH is received.
    	c1 := make(chan os.Signal, 1)
    	Notify(c1, syscall.SIGWINCH)
    	defer Stop(c1)
    
    	// Ask to be notified on c2 when a SIGHUP is received.
    	c2 := make(chan os.Signal, 1)
    	Notify(c2, syscall.SIGHUP)
    	defer Stop(c2)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

            for (Method declaredMethod : declaredMethods) {
                int modifiers = declaredMethod.getModifiers();
                if (!declaredMethod.isSynthetic() && !Modifier.isPublic(modifiers) && !Modifier.isStatic(modifiers)) {
                    problems.add(declaredMethod, "Protected and private methods are not supported.");
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

        @UnsupportedWithConfigurationCache
        def taskCanAccessTaskGraph() {
            buildFile << """
                boolean notified = false
                task a(dependsOn: 'b') {
                    doLast { task ->
                        assert notified
                        assert gradle.taskGraph.hasTask(task)
                        assert gradle.taskGraph.hasTask(':a')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/configuration/project/LifecycleProjectEvaluator.java

    import org.gradle.internal.operations.BuildOperationRunner;
    import org.gradle.internal.operations.RunnableBuildOperation;
    import org.gradle.util.Path;
    
    import java.io.File;
    
    /**
     * Notifies listeners before and after delegating to the provided delegate to the actual evaluation,
     * wrapping the work in build operations.
     *
     * The build operation structure is:
     *
     * - Evaluate project
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top