Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 108 for shape (0.15 sec)

  1. guava-tests/test/com/google/common/graph/TraverserTest.java

       * |      |
       * e ---- c ---- f
       * }</pre>
       */
      private static final SuccessorsFunction<Character> JAVADOC_GRAPH =
          createUndirectedGraph("ba", "ad", "be", "ac", "ec", "cf");
    
      /**
       * A diamond shaped directed graph (arrows going down):
       *
       * <pre>{@code
       *   a
       *  / \
       * b   c
       *  \ /
       *   d
       * }</pre>
       */
      private static final SuccessorsFunction<Character> DIAMOND_GRAPH =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileLocationTest.java

                  SmbResource c = new SmbFile(p, "share/") ) {
                SmbResourceLocator fl = c.getLocator();
                assertEquals("1.2.3.4", fl.getServer());
                assertEquals(SmbConstants.TYPE_SHARE, fl.getType());
                assertEquals("share", fl.getShare());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://1.2.3.4/share/", fl.getCanonicalURL());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
        // share capacity over each segment, then round up to the nearest power of two
    
        checkInitialCapacity(1, 0, 1);
        checkInitialCapacity(1, 1, 1);
        checkInitialCapacity(1, 2, 2);
        checkInitialCapacity(1, 3, 4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
        // share capacity over each segment, then round up to the nearest power of two
    
        checkInitialCapacity(1, 0, 1);
        checkInitialCapacity(1, 1, 1);
        checkInitialCapacity(1, 2, 2);
        checkInitialCapacity(1, 3, 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          // been acquired. For unordered locks, aboutToAcquire() ensures this by
          // checking isAcquiredByCurrentThread(). For ordered locks, however, this
          // can happen because multiple locks may share the same LockGraphNode. In
          // this situation, throw an IllegalStateException as defined by contract
          // described in the documentation of WithExplicitOrdering.
          Preconditions.checkState(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    // TODO: Add another constructor parameter indicating whether the class under test is ordered, and
    // check the order if so.
    // TODO: Refactor to share code with SetTestBuilder etc.
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class MapInterfaceTest<K extends @Nullable Object, V extends @Nullable Object>
        extends TestCase {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResourceLocator.java

         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        String getShare ();
    
    
        /**
         * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will
         * return the target name.
         * 
         * @return The server name
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        private static final Logger log = LoggerFactory.getLogger(DfsReferralDataImpl.class);
    
        private int pathConsumed;
        private long ttl;
        private String server; // Server
        private String share; // Share
        private String link;
        private String path; // Path relative to tree from which this referral was thrown
    
        private long expiration;
        private int rflags;
    
        private boolean resolveHashes;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            this.supportSearchBits = ( buffer[ bufferIndex ] & SMB_SUPPORT_SEARCH_BITS ) == SMB_SUPPORT_SEARCH_BITS;
            this.shareIsInDfs = ( buffer[ bufferIndex ] & SMB_SHARE_IS_IN_DFS ) == SMB_SHARE_IS_IN_DFS;
            return 2;
        }
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/OplockTests.java

                }
                else if ( trans.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    int flags = SmbConstants.O_CREAT;
                    int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
                    int access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.FILE_WRITE_ATTRIBUTES
                            | SmbConstants.FILE_WRITE_DATA;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top