Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 150 for iphone (0.18 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        @Test
        public void testStartsWithIgnoreCase() throws Exception {
            assertTrue(StringUtil.startsWithIgnoreCase("isHoge", "is"));
            assertTrue(StringUtil.startsWithIgnoreCase("isHoge", "IS"));
            assertTrue(StringUtil.startsWithIgnoreCase("ISHoge", "is"));
            assertFalse(StringUtil.startsWithIgnoreCase("isHoge", "iss"));
            assertFalse(StringUtil.startsWithIgnoreCase("is", "iss"));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. misc/ios/clangwrap.sh

    # To select a specific SDK, run 'xcodebuild -showsdks'
    # to see the available SDKs and replace iphoneos with one of them.
    if [ "$GOARCH" == "arm64" ]; then
    	SDK=iphoneos
    	PLATFORM=ios
    	CLANGARCH="arm64"
    else
    	SDK=iphonesimulator
    	PLATFORM=ios-simulator
    	CLANGARCH="x86_64"
    fi
    
    SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
    export IPHONEOS_DEPLOYMENT_TARGET=5.1
    # cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 02 16:48:07 GMT 2021
    - 626 bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      @SuppressWarnings("removal") // b/260137033
      public static void awaitDone(Future<?> future) {
        if (future.isDone()) {
          return;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        }
      }
    
      /**
       * Tests that a canceled future throws a cancellation exception.
       *
       * <p>This method checks the cancel, isCancelled, and isDone methods.
       */
      public void testCanceledFutureThrowsCancellation() throws Exception {
    
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
    
        CountDownLatch successLatch = new CountDownLatch(1);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        assertFalse(listenableFuture.isDone());
    
        listenableFuture.addListener(singleCallListener, executorService);
        abstractFuture.set(DATA1);
        assertEquals(DATA1, listenableFuture.get());
        singleCallListener.waitForCall();
    
        assertTrue(spy.wasExecuted);
        assertTrue(singleCallListener.wasCalled());
        assertTrue(listenableFuture.isDone());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

                      assertTrue(future.isDone());
                      assertEquals(1, threadLocalCount.get().intValue());
                    } catch (Throwable t) {
                      throwableFromOtherThread.set(t);
                    }
                  }
                });
    
        otherThread.start();
    
        ListenableFuture<?> future = executor.submit(incrementTask);
        assertTrue(future.isDone());
        assertListenerRunImmediately(future);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture.isDone());
        assertTrue(runnable.run);
    
        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
        assertThat(callableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(callableFuture.isDone());
        assertEquals("foo", callableFuture.get());
    
        TestRunnable runnable2 = new TestRunnable();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
        assertNull(tryInternalFastPathGetFailure(future));
        CancellationException e = assertThrows(CancellationException.class, () -> future.get());
        assertNotNull(e.getCause());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        compound.addListener(listener, directExecutor());
    
        // Satisfy each input and check the output
        assertFalse(compound.isDone());
        future1.set(DATA1);
        assertFalse(compound.isDone());
        future2.set(DATA2);
        assertFalse(compound.isDone());
        listener.expectCall();
        future3.set(DATA3);
        assertTrue(listener.wasCalled());
    
        List<String> results = getDone(compound);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

        TrustedFutureInterruptibleTask(Callable<V> callable) {
          this.callable = checkNotNull(callable);
        }
    
        @Override
        final boolean isDone() {
          return TrustedListenableFutureTask.this.isDone();
        }
    
        @Override
        @ParametricNullness
        V runInterruptibly() throws Exception {
          return callable.call();
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 5.6K bytes
    - Viewed (0)
Back to top