Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 7,081 for returns (0.16 sec)

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

            public Lock get() {
              return new ReentrantLock(true);
            }
          };
    
      private static final Supplier<Semaphore> SEMAPHORE_SUPPLER =
          new Supplier<Semaphore>() {
            @Override
            public Semaphore get() {
              return new Semaphore(1, false);
            }
          };
    
      private static List<Striped<?>> weakImplementations() {
        return ImmutableList.<Striped<?>>builder()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            public Lock get() {
              return new ReentrantLock(true);
            }
          };
    
      private static final Supplier<Semaphore> SEMAPHORE_SUPPLER =
          new Supplier<Semaphore>() {
            @Override
            public Semaphore get() {
              return new Semaphore(1, false);
            }
          };
    
      private static List<Striped<?>> weakImplementations() {
        return ImmutableList.<Striped<?>>builder()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. bin/diff_yaml.py

    #
    from __future__ import print_function
    import argparse
    import datadiff
    import sys
    import yaml  # pyyaml
    
    # returns fully qualified resource name of the k8s resource
    
    
    def by_resource_name(res):
        if res is None:
            return ""
    
        return "{}::{}::{}".format(res['apiVersion'],
                                   res['kind'],
                                   res['metadata']['name'])
    
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

            delegate = new MetadataStaxReader(contentTransformer::transform);
        }
    
        /**
         * Returns the state of the "add default entities" flag.
         *
         * @return boolean a field value
         */
        public boolean getAddDefaultEntities() {
            return delegate.getAddDefaultEntities();
        }
    
        /**
         * Sets the state of the "add default entities" flag.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectMissing(e3());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAtIndex_nullSupported()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

         * @return This request for chaining, never {@code null}.
         */
        BeanConfigurationRequest setConfiguration(Object configuration, String element);
    
        /**
         * Returns configuration element name or {@code null}.
         *
         * @see #setConfiguration(Object, String)
         *
         * @return Configuration element name or {@code null}
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/metacache-bucket.go

    }
    
    // updateCacheEntry will update a cache.
    // Returns the updated status.
    func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) {
    	b.mu.Lock()
    	defer b.mu.Unlock()
    	existing, ok := b.caches[update.id]
    	if !ok {
    		return update, errFileNotFound
    	}
    	existing.update(update)
    	b.caches[update.id] = existing
    	b.updated = true
    	return existing, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/HashBiMap.java

          if (valueHash == entry.valueHash && Objects.equal(value, entry.value)) {
            return entry;
          }
        }
        return null;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return seekByKey(key, smearedHash(key)) != null;
      }
    
      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/LineBufferTest.java

          lines.add(line);
        }
        return lines;
      }
    
      // Returns a Readable that is *not* a Reader.
      private static Readable getChunkedReadable(String input, int chunk) {
        final Reader reader = getChunkedReader(input, chunk);
        return new Readable() {
          @Override
          public int read(CharBuffer cbuf) throws IOException {
            return reader.read(cbuf);
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/LineBufferTest.java

          lines.add(line);
        }
        return lines;
      }
    
      // Returns a Readable that is *not* a Reader.
      private static Readable getChunkedReadable(String input, int chunk) {
        final Reader reader = getChunkedReader(input, chunk);
        return new Readable() {
          @Override
          public int read(CharBuffer cbuf) throws IOException {
            return reader.read(cbuf);
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top