Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 961 - 970 of 6,076 for newE (0.02 seconds)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      @Override
      Set<K> createKeySet() {
        return new KeySet(map);
      }
    
      final Set<K> createMaybeNavigableKeySet() {
        if (map instanceof NavigableMap) {
          return new NavigableKeySet((NavigableMap<K, Collection<V>>) map);
        } else if (map instanceof SortedMap) {
          return new SortedKeySet((SortedMap<K, Collection<V>>) map);
        } else {
          return new KeySet(map);
        }
      }
    
      @WeakOuter
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Prepare minimal buffer
            byte[] buffer = new byte[24];
    
            // Test with offset 0
            int bytesDecoded = response.decode(buffer, 0, 24);
            assertEquals(24, bytesDecoded, "Should return 24 bytes consumed from offset 0");
    
            // Test with different offset
            response = new ValidateNegotiateInfoResponse();
            buffer = new byte[50];
            bytesDecoded = response.decode(buffer, 10, 24);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/UUIDTest.java

                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = 0;
                rpcUuid.time_mid = 0;
                rpcUuid.time_hi_and_version = 0;
                rpcUuid.clock_seq_hi_and_reserved = 0;
                rpcUuid.clock_seq_low = 0;
                rpcUuid.node = new byte[6];
    
                UUID uuid = new UUID(rpcUuid);
    
                // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            StringReader sReader = new StringReader(serializedModel);
    
            MavenStaxReader modelReader = new MavenStaxReader();
            try {
                model = new Model(modelReader.read(sReader));
            } catch (XMLStreamException e) {
                throw new ModelInterpolationException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
            String escapedKey = escapeKey(key);
            StringBuilder sb = new StringBuilder();
            // int lastLine = valueLines.size() - 1;
            if (valueLines.isEmpty()) {
                valueLines.add(escapedKey + "=");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
            String escapedKey = escapeKey(key);
            StringBuilder sb = new StringBuilder();
            // int lastLine = valueLines.size() - 1;
            if (valueLines.isEmpty()) {
                valueLines.add(escapedKey + "=");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CollectPreconditions.java

        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

            Map<Element, Element> map = new HashMap<>();
            for (Element element : keys) {
              map.put(element, element);
            }
            return map;
          }
        },
        LinkedHM {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            Map<Element, Element> map = new LinkedHashMap<>();
            for (Element element : keys) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

            murmur3_32().hashString("ABCDefGHI\u0799", UTF_8));
      }
    
      @SuppressWarnings("deprecation")
      public void testEncodedStringInputs() {
        Random rng = new Random(0);
        for (int z = 0; z < 100; z++) {
          int[] codePoints = new int[rng.nextInt(8)];
          for (int i = 0; i < codePoints.length; i++) {
            do {
              codePoints[i] = rng.nextInt(0x800);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

      private SleepingRunnable sleeper;
      private Future<Boolean> delayedFuture;
    
      private final TearDownStack tearDownStack = new TearDownStack();
    
      @Override
      protected void setUp() {
        ExecutorService executor = newSingleThreadExecutor();
        tearDownStack.addTearDown(executor::shutdownNow);
        sleeper = new SleepingRunnable(1000);
        delayedFuture = executor.submit(sleeper, true);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top