Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 443 for getPty (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public int compare(Entry<K, V> a, Entry<K, V> b) {
          return (keyComparator == null)
              ? ((Comparable) a.getKey()).compareTo(b.getKey())
              : keyComparator.compare(a.getKey(), b.getKey());
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. docs/smb3-features/01-smb3-lease-design.md

            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
            
            assertNotNull(key1.getKey());
            assertEquals(16, key1.getKey().length);
            assertFalse(Arrays.equals(key1.getKey(), key2.getKey()));
        }
        
        @Test
        public void testLeaseStateFlags() {
            int state = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionConfigurationModule.java

                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(configuration);
                binder.bind(PlexusConfiguration.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(XmlPlexusConfiguration.toPlexusConfiguration(configuration));
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/FilteredKeyMultimap.java

          if (o instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) o;
            if (unfiltered.containsKey(entry.getKey())
                // if this holds, then we know entry.getKey() is a K
                && keyPredicate.apply((K) entry.getKey())) {
              return unfiltered.remove(entry.getKey(), entry.getValue());
            }
          }
          return false;
        }
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import org.eclipse.jetty.client.HttpClient
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /**
     * Jetty HTTP client.
     *
     * https://www.eclipse.org/jetty/documentation/current/http-client.html
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

                });
        List<Entry<K, V>> expectedEntries = new ArrayList<>();
        for (Entry<K, V> entry : getSampleEntries()) {
          int index = keys().asList().indexOf(entry.getKey());
          expectedEntries.add(Helpers.mapEntry(entry.getKey(), values().asList().get(index + 1)));
        }
        expectContents(expectedEntries);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionFeature.Require(KNOWN_ORDER)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

                    snapshots.put(snapshotMetadata.getKey(), snapshotMetadata);
                }
            }
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            for (Artifact artifact : artifacts) {
                if (artifact.isSnapshot()) {
                    Object key = RemoteSnapshotMetadata.getKey(artifact);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        Object key = new Object();
        assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
        RemovalNotification<Object, Object> notification = listener.remove();
        assertThat(notification.getKey()).isSameInstanceAs(key);
        assertThat(notification.getValue()).isSameInstanceAs(computed);
        assertThat(notification.getCause()).isEqualTo(RemovalCause.SIZE);
        assertThat(listener.isEmpty()).isTrue();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top