Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,158 for available (0.19 sec)

  1. guava-tests/test/com/google/common/io/TestInputStream.java

      public long skip(long n) throws IOException {
        throwIf(closed);
        throwIf(SKIP_THROWS);
        return in.skip(n);
      }
    
      @Override
      public int available() throws IOException {
        throwIf(closed);
        return options.contains(TestOption.AVAILABLE_ALWAYS_ZERO) ? 0 : in.available();
      }
    
      @Override
      public void close() throws IOException {
        closed = true;
        throwIf(CLOSE_THROWS);
        in.close();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/TestInputStream.java

      public long skip(long n) throws IOException {
        throwIf(closed);
        throwIf(SKIP_THROWS);
        return in.skip(n);
      }
    
      @Override
      public int available() throws IOException {
        throwIf(closed);
        return options.contains(TestOption.AVAILABLE_ALWAYS_ZERO) ? 0 : in.available();
      }
    
      @Override
      public void close() throws IOException {
        closed = true;
        throwIf(CLOSE_THROWS);
        in.close();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  3. misc/ios/clangwrap.sh

    #!/bin/sh
    # This uses the latest available iOS SDK, which is recommended.
    # 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
    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)
  4. src/main/java/jcifs/pac/PacDataInputStream.java

            this.size = in.available();
        }
    
    
        public void align ( int mask ) throws IOException {
            int position = this.size - this.dis.available();
            int shift = position & mask - 1;
            if ( mask != 0 && shift != 0 )
                this.dis.skip(mask - shift);
        }
    
    
        public int available () throws IOException {
            return this.dis.available();
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-memory.go

    )
    
    const (
    	memTotal     = "total"
    	memUsed      = "used"
    	memFree      = "free"
    	memBuffers   = "buffers"
    	memCache     = "cache"
    	memUsedPerc  = "used_perc"
    	memShared    = "shared"
    	memAvailable = "available"
    )
    
    var (
    	memTotalMD     = NewGaugeMD(memTotal, "Total memory on the node")
    	memUsedMD      = NewGaugeMD(memUsed, "Used memory on the node")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

    // For a given StorageClass, this describes the available capacity in a
    // particular topology segment.  This can be used when considering where to
    // instantiate new PersistentVolumes.
    //
    // For example this can express things like:
    // - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1"
    // - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
    //
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

        private static final Logger logger = LogManager.getLogger(CrawlerLogHelper.class);
    
        @Override
        public void log(final LogType key, final Object... objs) {
            if (!ComponentUtil.available()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("container was destroyed.");
                }
                return;
            }
            super.log(key, objs);
        }
    
        @Override
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
      protected abstract <V> ListenableFuture<V> createListenableFuture(
          V value, @Nullable Exception except, CountDownLatch waitOn);
    
      /** Tests that the {@link Future#get()} method blocks until a value is available. */
      public void testGetBlocksUntilValueAvailable() throws Throwable {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream lin = ByteStreams.limit(bin, 2);
    
        // also test available
        lin.mark(2);
        assertEquals(2, lin.available());
        lin.skip(1);
        assertEquals(1, lin.available());
    
        lin.reset();
        assertEquals(2, lin.available());
        lin.skip(3);
        assertEquals(0, lin.available());
      }
    
      public void testLimit_markNotSet() {
        byte[] big = newPreFilledByteArray(5);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  10. maven-core/src/site/apt/offline-mode.apt

      [[1]] This is obvious, but the network/internet is unavailable.
    
      [[2]] Localhost (127.0.0.1) may also be unavailable if the whole
            network stack is offline.
    
      [[3]] "Remote" repositories referenced using the file:// protocol may
            be available. However, if that file:// url references a
            file-share, as in the case of an NFS or SMB mount, that will
            be unavailable.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top