Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3781 - 3790 of 5,013 for cstring (0.03 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(),
              new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/EndpointPair.java

        }
    
        @Override
        public int hashCode() {
          return Objects.hash(source(), target());
        }
    
        @Override
        public String toString() {
          return "<" + source() + " -> " + target() + ">";
        }
      }
    
      private static final class Unordered<N> extends EndpointPair<N> {
        private Unordered(N nodeU, N nodeV) {
          super(nodeU, nodeV);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

        @Mock
        private ResourceNameFilter nameFilter;
    
        private SmbFile parent;
    
        @BeforeAll
        static void setupURLHandler() {
            // Register the SMB URL handler to avoid MalformedURLException
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            } else if (!pkgs.contains("jcifs")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *}
    
    ## Recap { #recap }
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}.
    
    And you can also declare numeric validations:
    
    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                            new DefaultArtifactResolver(),
                            new DefaultRequestCacheFactory(),
                            new ArtifactManager() {
                                private final Map<String, Path> paths = new ConcurrentHashMap<>();
    
                                @Override
                                public Optional<Path> getPath(org.apache.maven.api.Artifact artifact) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Converter.java

     * }
     *
     * <p>An alternative using a subclass:
     *
     * {@snippet :
     * return new Converter<Integer, String>() {
     *   @Override
     *   protected String doForward(Integer i) {
     *     return Integer.toHexString(i);
     *   }
     *
     *   @Override
     *   protected Integer doBackward(String s) {
     *     return parseUnsignedInt(s, 16);
     *   }
     * }
     * }
     *
     * @author Mike Ward
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

          .isEqualTo(X500Principal("CN=Local Host"))
        assertThat(response.handshake!!.localPrincipal)
          .isEqualTo(X500Principal("CN=Jethro Willis"))
        assertThat(response.body.string()).isEqualTo("abc")
      }
    
      @Test
      fun clientAuthForNeeds() {
        val client = buildClient(clientCert, clientIntermediateCa.certificate)
        val socketFactory = buildServerSslSocketFactory()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

        }
    
        @Test
        public void toString_doesNotThrow() {
            DummyResponse d = new DummyResponse();
            String s = d.toString();
            assertNotNull(s, "toString should not return null");
            assertTrue(s.contains("totalParameterCount="), "string representation contains totalParameterCount field");
        }
    
        /**
         * Verify that readParameterWordsWireFormat parses the SMB header
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        private final String toString;
    
        protected Stimulus(String toString) {
          this.toString = toString;
        }
    
        /**
         * Send this stimulus to both iterators and return normally only if both produce the same
         * response.
         */
        abstract void executeAndCompare(ListIterator<E> reference, T target);
    
        @Override
        public String toString() {
          return toString;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/SearchBody.java

     * Extends BaseSearchBody with elevate word-specific search parameters.
     */
    public class SearchBody extends BaseSearchBody {
    
        /** The elevate word ID to search for. */
        public String id;
    
        /**
         * Default constructor for SearchBody.
         */
        public SearchBody() {
            super();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top