Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 3,270 for switch (0.03 sec)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

        return set;
      }
    
      /**
       * Creates a {@code CompactHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactHashSet} with enough capacity to hold {@code expectedSize}
       *     elements without resizing
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Converter.java

     * existing users, but it can't *fix* existing users because any users who needed
     * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of
     * fallout from trying to switch. I would be shocked if the switch would offer benefits to anywhere
     * near enough users to justify the costs.
     *
     * Fortunately, if anyone does want to use a Converter as a `Function<@Nullable A, @Nullable B>`,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

        //                                                                        ============
    
        private static OptionalEntity<ProtwordsItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final ProtwordsItem entity = new ProtwordsItem(0, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

         * @return optional file configuration entity
         */
        public static OptionalEntity<FileConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new FileConfig()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      private static <E> ImmutableSortedSet<E> ofInternal(
          Comparator<? super E> comparator, E... elements) {
        checkNotNull(elements);
        switch (elements.length) {
          case 0:
            return emptySet(comparator);
          default:
            SortedSet<E> delegate = new TreeSet<E>(comparator);
            for (E element : elements) {
              checkNotNull(element);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                final char ch = arr[si];
    
                switch (state) {
                case 0:
                    if (ch == ':') {
                        proto = str.substring(mark, si);
                        mark = si + 1;
                        state = 1;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    // corresponding entry in the `dims` array must be -1.
    //
    // This does not overwrite the existing shape associated with `output`,
    // but merges the input shape with the existing shape.  For example,
    // setting a shape of [-1, 2] with an existing shape [2, -1] would set
    // a final shape of [2, 2] based on shape merging semantics.
    //
    // Returns an error into `status` if:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  8. .bazelrc

    build:linux --copt="-Wunused-result"
    build:linux --copt="-Werror=unused-result"
    # Add switch as an error on Linux.
    build:linux --copt="-Wswitch"
    build:linux --copt="-Werror=switch"
    
    # Linux ARM64 specific options
    build:linux_arm64 --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"
    
    
    # On Windows, `__cplusplus` is wrongly defined without this switch
    # See https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 22 21:03:34 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

            }
            return getToken(b);
        }
    
        private static SpnegoToken getToken(final byte[] token) throws SpnegoException {
            SpnegoToken spnegoToken = null;
            try {
                spnegoToken = switch (token[0]) {
                case (byte) 0x60 -> new NegTokenInit(token);
                case (byte) 0xa1 -> new NegTokenTarg(token);
                default -> throw new SpnegoException("Invalid token type");
                };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    return null;
                }).orElse(null);
            }
            return null;
        }
    
        @Override
        public ActionResponse getResponse(final SsoResponseType responseType) {
            return switch (responseType) {
            case METADATA -> getMetadataResponse();
            case LOGOUT -> getLogoutResponse();
            default -> null;
            };
        }
    
        /**
         * Gets the metadata response.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (1)
Back to top