Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 214 for Instant (0.03 sec)

  1. guava/src/com/google/common/graph/ImmutableGraph.java

      }
    
      @SuppressWarnings("unchecked")
      private static <N> GraphConnections<N, Presence> connectionsOf(Graph<N> graph, N node) {
        Function<N, Presence> edgeValueFn =
            (Function<N, Presence>) Functions.constant(Presence.EDGE_EXISTS);
        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
            : UndirectedGraphConnections.ofImmutable(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        void testGetAttributes() {
            // Default instance
            assertEquals(SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, shareInfo.getAttributes());
    
            // Instance with values - attributes are still constant
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertEquals(SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, info.getAttributes());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

            NullPointerException.class,
            () -> Maps.toMap((Iterable<String>) strings, Functions.constant("foo")));
      }
    
      public void testToMapWithNullValues() {
        Iterable<String> strings = ImmutableList.of("one", "two", "three");
        assertThrows(NullPointerException.class, () -> Maps.toMap(strings, Functions.constant(null)));
      }
    
      private static final ImmutableBiMap<Integer, String> INT_TO_STRING_MAP =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            assertDoesNotThrow(() -> request.setFileId(emptyFileId), "Should handle empty file ID without throwing exception");
        }
    
        @Test
        @DisplayName("Should handle unspecified file ID constant")
        void testSetUnspecifiedFileId() {
            // Given
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId);
    
            // When
            request.setFileId(unspecifiedFileId);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

     * API action for admin search list management.
     *
     */
    public class ApiAdminSearchlistAction extends FessApiAdminAction {
    
        // ===================================================================================
        // Constant
        //
        /** The logger for this class. */
        private static final Logger logger = LogManager.getLogger(ApiAdminSearchlistAction.class);
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        /** Environment variable name for specifying the application type */
        private static final String FESS_APP_TYPE = "FESS_APP_TYPE";
    
        /** Constant value representing Docker application type */
        private static final String FESS_APP_DOCKER = "docker";
    
        /**
         * Protected constructor to prevent instantiation of this utility class.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

        }
        return total;
      }
    
      // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able
      // to reuse buffers, others would be able to size them more appropriately than the constant
      // defaults
    
      /**
       * Copies all characters between the {@link Reader} and {@link StringBuilder} objects. Does not
       * close or flush the reader.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

    import java.util.List;
    import java.util.NoSuchElementException;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A double-ended priority queue, which provides constant-time access to both its least element and
     * its greatest element, as determined by the queue's specified comparator. If no comparator is
     * given at creation time, the natural order of elements is used. If no maximum size is given at
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      private static class BadEqualsFactory {
        /** oneConstantOnly matters now since it can be either null or the constant. */
        @Keep
        public static Object bad(String a, int b, @Nullable OneConstantEnum oneConstantOnly) {
          return new GoodEquals(a, b);
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then - response is created even with null config
            assertNotNull(response);
        }
    
        @Test
        @DisplayName("Should verify SMB2 header length constant usage")
        void testSmb2HeaderLengthUsage() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top