Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 31 for isNative (0.08 seconds)

  1. android/guava/src/com/google/common/reflect/Invokable.java

      public final boolean isAbstract() {
        return Modifier.isAbstract(getModifiers());
      }
    
      /** Returns true if the element is native. */
      public final boolean isNative() {
        return Modifier.isNative(getModifiers());
      }
    
      /** Returns true if the method is synchronized. */
      public final boolean isSynchronized() {
        return Modifier.isSynchronized(getModifiers());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testNativeMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("nativeMethod");
        assertTrue(invokable.isNative());
        assertTrue(invokable.isPackagePrivate());
      }
    
      public void testSynchronizedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("synchronizedMethod");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  3. internal/event/target/postgresql.go

    func (target *PostgreSQLTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *PostgreSQLTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *PostgreSQLTarget) isActive() (bool, error) {
    	if err := target.db.Ping(); err != nil {
    		if IsConnErr(err) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/netbios/NbtAddress.java

            this.address = address;
            this.groupName = groupName;
            this.nodeType = nodeType;
            this.isBeingDeleted = isBeingDeleted;
            this.isInConflict = isInConflict;
            this.isActive = isActive;
            this.isPermanent = isPermanent;
            this.macAddress = macAddress;
            this.isDataFromNodeStatus = true;
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. internal/event/target/kafka.go

    func (target *KafkaTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *KafkaTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *KafkaTarget) isActive() (bool, error) {
    	// Refer https://github.com/IBM/sarama/issues/1341
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                return directoryFile;
            }
    
            /**
             * Checks if directory change monitoring is currently active
             * @return true if watching is active
             */
            public boolean isActive() {
                return active;
            }
    
            /**
             * Set active status
             *
             * @param active true to activate
             */
            public void setActive(boolean active) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  7. internal/event/target/mysql.go

    func (target *MySQLTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *MySQLTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *MySQLTarget) isActive() (bool, error) {
    	if err := target.db.Ping(); err != nil {
    		if IsConnErr(err) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. internal/event/target/nats.go

    func (target *NATSTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *NATSTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *NATSTarget) isActive() (bool, error) {
    	var connErr error
    	if target.args.Streaming.Enable {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. internal/event/target/amqp.go

    func (target *AMQPTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *AMQPTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    
    	return target.isActive()
    }
    
    func (target *AMQPTarget) isActive() (bool, error) {
    	ch, _, err := target.channel()
    	if err != nil {
    		return false, err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 21 04:25:07 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. internal/event/target/elasticsearch.go

    func (target *ElasticsearchTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *ElasticsearchTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *ElasticsearchTarget) isActive() (bool, error) {
    	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15K bytes
    - Click Count (0)
Back to Top