Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for isNative (0.21 sec)

  1. internal/event/targetlist_test.go

    	return nil
    }
    
    func (target ExampleTarget) Close() error {
    	if target.closeErr {
    		return errors.New("close error")
    	}
    
    	return nil
    }
    
    func (target ExampleTarget) IsActive() (bool, error) {
    	return false, errors.New("not connected to target server/service")
    }
    
    // FlushQueueStore - No-Op. Added for interface compatibility
    func (target ExampleTarget) FlushQueueStore() error {
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        }
    
        public boolean isProcessRunning(final String sessionId) {
            final JobProcess jobProcess = runningProcessMap.get(sessionId);
            return jobProcess != null && jobProcess.getProcess().isAlive();
        }
    
        protected int destroyProcess(final String sessionId, final JobProcess jobProcess) {
            if (jobProcess != null) {
                final InputStreamThread ist = jobProcess.getInputStreamThread();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                this.p = p;
                this.ist = ist;
                this.timeout = timeout;
            }
    
            @Override
            public void run() {
                if (!p.isAlive()) {
                    return;
                }
    
                executed.set(true);
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Interrupting a stream thread.");
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NetbiosAddress.java

         *            context to use
         * @return whether this address is active
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        boolean isActive ( CIFSContext tc ) throws UnknownHostException;
    
    
        /**
         * Determines if this address is set to be permanent.
         * 
         * @param tc
         *            context to use
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          this.shutdown = shutdown;
          start();
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
      void assertWrapsInterruptedException(RuntimeException e) {
        assertThat(e).hasMessageThat().contains("Unexpected interrupt");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.cc

          "TFE_ContextSetServerDef not supported on mobile");
      return false;
    #else   // !defined(IS_MOBILE_PLATFORM)
      bool is_alive;
      status->status =
          tensorflow::unwrap(ctx)->GetDistributedManager()->CheckRemoteAlive(
              worker_name, &is_alive);
      return is_alive;
    #endif  // !IS_MOBILE_PLATFORM
    }
    
    TF_CAPI_EXPORT extern void TFE_ContextAsyncWait(TFE_Context* ctx,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

                Profile profile, ProfileActivationContext context, String warningContains) {
            SimpleProblemCollector problems = new SimpleProblemCollector();
    
            assertFalse(activator.isActive(new org.apache.maven.model.Profile(profile), context, problems));
    
            assertEquals(0, problems.getErrors().size());
            assertEquals(1, problems.getWarnings().size());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. internal/event/targetlist.go

    	// The maximum allowed number of concurrent Send() calls to all configured notifications targets
    	maxConcurrentAsyncSend = 50000
    )
    
    // Target - event target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Save(Event) error
    	SendFromStore(store.Key) error
    	Close() error
    	Store() TargetStore
    }
    
    // TargetStore is a shallow version of a target.Store
    type TargetStore interface {
    	Len() int
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

          locked.await(1, MINUTES);
        }
    
        void releaseLockAndFinish() throws InterruptedException {
          finishLatch.countDown();
          this.join(10000);
          assertFalse(this.isAlive());
        }
      }
    
      public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() {
        assertEquals(
            "Unexpected number of public methods in ReentrantReadWriteLock. "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

          locked.await(1, MINUTES);
        }
    
        void releaseLockAndFinish() throws InterruptedException {
          finishLatch.countDown();
          this.join(10000);
          assertFalse(this.isAlive());
        }
      }
    
      public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() {
        assertEquals(
            "Unexpected number of public methods in ReentrantReadWriteLock. "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top