Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 3,270 for switch (0.03 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

        //                                                                        ============
        private static OptionalEntity<PathMapping> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new PathMapping()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         * @param type the referent type
         */
        public void enc_ndr_referent(final Object obj, final int type) {
            if (obj == null) {
                enc_ndr_long(0);
                return;
            }
            switch (type) {
            case 1: /* unique */
            case 3: /* ref */
                enc_ndr_long(System.identityHashCode(obj));
                return;
            case 2: /* ptr */
                enc_ndr_long(getDceReferent(obj));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. docs/smb3-features/03-multi-channel-design.md

            }
            
            if (availableChannels.size() == 1) {
                return availableChannels.iterator().next();
            }
            
            switch (strategy) {
                case ROUND_ROBIN:
                    return selectRoundRobin(availableChannels);
                    
                case LEAST_LOADED:
                    return selectLeastLoaded(availableChannels);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

         * @return optional entity containing the role data, or empty if creation fails
         */
        private static OptionalEntity<Role> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new Role()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

        /**
         * Update directory cache with new listing
         *
         * @param directoryPath directory path
         * @param files list of files in directory
         */
        public void updateDirectoryCache(String directoryPath, List<SmbFile> files) {
            DirectoryCacheEntry entry = getCacheEntry(directoryPath);
            if (entry == null)
                return;
    
            // Update cache with new directory listing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/maven/bin/mvn

    # or more contributor license agreements.  See the NOTICE file
    # distributed with this work for additional information
    # regarding copyright ownership.  The ASF licenses this file
    # to you under the Apache License, Version 2.0 (the
    # "License"); you may not use this file except in compliance
    # with the License.  You may obtain a copy of the License at
    #
    #    http://www.apache.org/licenses/LICENSE-2.0
    #
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

        private static OptionalEntity<BoostDocumentRule> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new BoostDocumentRule()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

         */
        protected String[] getStringsByXPath(final Document document, final String path) {
            try {
                final XPathEvaluationResult<?> xObj = getXPathAPI().eval(document, path);
                switch (xObj.type()) {
                case BOOLEAN:
                    final Boolean b = (Boolean) xObj.value();
                    return new String[] { b.toString() };
                case NUMBER:
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * </ul>
         *
         * @param type
         *            the type to analyze
         * @return the raw class of the specified type
         */
        public static Class<?> getRawClass(final Type type) {
            return switch (type) {
            case Class<?> clazz -> clazz;
            case ParameterizedType paramType -> getRawClass(paramType.getRawType());
            case WildcardType wildcard -> getRawClass(wildcard.getUpperBounds()[0]);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arch.go

    	return 0, false
    }
    
    // Set configures the architecture specified by GOARCH and returns its representation.
    // It returns nil if GOARCH is not recognized.
    func Set(GOARCH string, shared bool) *Arch {
    	switch GOARCH {
    	case "386":
    		return archX86(&x86.Link386)
    	case "amd64":
    		return archX86(&x86.Linkamd64)
    	case "arm":
    		return archArm()
    	case "arm64":
    		return archArm64()
    	case "loong64":
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 07 02:20:14 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top