Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 237 for getPoint (0.14 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        future.addListener(
            new Runnable() {
              @Override
              public void run() {
                latch.countDown();
              }
            },
            exec);
    
        assertEquals(1, latch.getCount());
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      public void tearDown() {
        exec.shutdown();
      }
    
      public void testCompletedFuture(@Nullable Object expectedValue)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        }
    
        public void expectCall() {
          assertFalse("expectCall is already true", expectCall);
          expectCall = true;
        }
    
        public boolean wasCalled() {
          return calledCountDown.getCount() == 0;
        }
    
        public void waitForCall() throws InterruptedException {
          assertTrue("expectCall is false", expectCall);
          calledCountDown.await();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

    def artifactType = Attribute.of('artifactType', String)
    
    class Counter implements Serializable {
        private int count = 0;
    
        public int increment() {
            return ++count;
        }
    
        public int getCount() {
            return count;
        }
    }
    
    class Resolve extends Copy {
    
        @Internal
        ArtifactCollection artifacts
        @Internal
        final artifactType = Attribute.of('artifactType', String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            try {
                final Object content = message.getContent();
                if (content instanceof final Multipart multipart) {
                    final int count = multipart.getCount();
                    for (int i = 0; i < count; i++) {
                        final BodyPart bodyPart = multipart.getBodyPart(i);
                        if (Part.ATTACHMENT.equalsIgnoreCase(bodyPart.getDisposition())) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          count.incrementAndGet();
          lastNotification = notification;
        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
        public V getLastEvictedValue() {
          return lastNotification.getValue();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      ArrayAttr stride = mlir::dyn_cast<ArrayAttr>(identifier_to_attr["strides"]);
      const int stride_h = mlir::cast<IntegerAttr>(stride[1]).getInt();
      const int stride_w = mlir::cast<IntegerAttr>(stride[2]).getInt();
      return rewriter.getI64ArrayAttr({stride_h, stride_w});
    }
    
    Attribute GetLhsDilationValue(PatternRewriter& rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Config.java

    
        /**
         * Retrieve an <code>int</code>. If the key does not exist or
         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         */
        public static int getInt ( Properties props, String key, int def ) {
            String s = props.getProperty(key);
            if ( s != null ) {
                try {
                    def = Integer.parseInt(s);
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  8. tests/fuzz/compare_fuzzer.go

    	"istio.io/istio/istioctl/pkg/writer/compare"
    )
    
    func createIstiodDumps(f *fuzz.ConsumeFuzzer) (map[string][]byte, error) {
    	m := make(map[string][]byte)
    	maxNoEntries := 50
    	qty, err := f.GetInt()
    	if err != nil {
    		return m, err
    	}
    	noOfEntries := qty % maxNoEntries
    	if noOfEntries == 0 {
    		return m, errors.New("a map of zero-length was created")
    	}
    	for i := 0; i < noOfEntries; i++ {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_op_attrs.h

      virtual ~AbstractOpAttrs() = default;
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 26 22:20:27 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/BufferCache.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    public class BufferCache {
    
        private static final int MAX_BUFFERS = Config.getInt( "jcifs.smb1.smb.maxBuffers", 16 );
    
        static Object[] cache = new Object[MAX_BUFFERS];
        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
Back to top