Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 727 for examples (0.04 sec)

  1. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength");
            rDataLengthField.setAccessible(true);
            rDataLengthField.set(response, 67); // 1 + 18 * 3 + 6 + 6 = 67 (3 names example)
    
            // Number of names
            src[srcIndex] = 0x03; // 3 names
    
            // First name entry (18 bytes)
            String name1 = "WORKSTATION     ";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

          random: Random?,
          pingIntervalMillis: Int = 0,
          responseHeaders: Headers? = headersOf(),
          webSocketCloseTimeout: Long = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS,
        ) {
          val url = "http://example.com/websocket"
          val response =
            Response
              .Builder()
              .code(101)
              .message("OK")
              .request(Request.Builder().url(url).build())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableTable.java

            checkNotNull(value, "value"));
      }
    
      /**
       * A builder for creating immutable table instances, especially {@code public static final} tables
       * ("constant tables"). Example:
       *
       * {@snippet :
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

     * created for testing should have Integer node and String edge objects.
     *
     * <p>Test cases that should be handled similarly in any graph implementation are included in this
     * class. For example, testing that {@code nodes()} method returns the set of the nodes in the
     * graph. The following test cases are left for the subclasses to handle:
     *
     * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      // From https://github.com/google/guava/issues/1342
      public void testComplicatedOrderingExample() {
        Integer nullInt = (Integer) null;
        Ordering<@Nullable Iterable<@Nullable Integer>> example =
            Ordering.<Integer>natural()
                .<Integer>nullsFirst()
                .<@Nullable Integer>reverse()
                .<@Nullable Integer>lexicographical()
                .reverse()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashMap.java

      //
      // The `table` array always has a size that is a power of 2. The hashcode of a key in the map
      // is masked in order to correspond to the current table size. For example, if the table size
      // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value.
      // If a key hashes to 0x89abcdef the mask reduces it to 0x89abcdef & 0x7f == 0x6f. We'll call this
      // the "short hash".
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      // From https://github.com/google/guava/issues/1342
      public void testComplicatedOrderingExample() {
        Integer nullInt = (Integer) null;
        Ordering<@Nullable Iterable<@Nullable Integer>> example =
            Ordering.<Integer>natural()
                .<Integer>nullsFirst()
                .<@Nullable Integer>reverse()
                .<@Nullable Integer>lexicographical()
                .reverse()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/BaseEncoding.java

     * strings. This class includes several constants for encoding schemes specified by <a
     * href="http://tools.ietf.org/html/rfc4648">RFC 4648</a>. For example, the expression:
     *
     * {@snippet :
     * BaseEncoding.base32().encode("foo".getBytes(US_ASCII))
     * }
     *
     * <p>returns the string {@code "MZXW6==="}, and
     *
     * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * and well as their responses for each type however the actuall implementations
         * of the readXxxWireFormat and writeXxxWireFormat methods may not be in
         * place. For example at the time of this writing the readXxxWireFormat
         * for requests and the writeXxxWireFormat for responses are not implemented
         * and simply return 0. These would need to be completed for a server
         * implementation.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Tables.java

       * changes the contents of the transposed table and vice versa.
       *
       * <p>The returned table supports update operations as long as the input table supports the
       * analogous operation with swapped rows and columns. For example, in a {@link HashBasedTable}
       * instance, {@code rowKeySet().iterator()} supports {@code remove()} but {@code
       * columnKeySet().iterator()} doesn't. With a transposed {@link HashBasedTable}, it's the other
       * way around.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top