Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2641 - 2650 of 7,250 for return (0.13 sec)

  1. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

                public Builder additionalField(String additionalField) {
                    this.additionalField = additionalField;
                    return this;
                }
    
                public ExtendedPluginDescriptor build() {
                    return new ExtendedPluginDescriptor(this);
                }
            }
        }
    
        @Test
        void testExtendedPluginDescriptor() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 07:05:43 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) {
            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. internal/http/check_port_linux.go

    				}
    			})
    			return nil
    		},
    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    	l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port))
    	if err != nil {
    		return err
    	}
    
    	// As we are able to listen on this network, the port is not in use.
    	// Close the listener and continue check other networks.
    	return l.Close()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/DfsTest.java

        public static Collection<Object> configs () {
            return getConfigs("smb1", "smb2", "smb30", "smb31");
        }
    
    
        private String getTestDfsTargetServer () {
            String dfsTargetServer = getProperties().get("test.server.dfs");
            if ( dfsTargetServer != null ) {
                return dfsTargetServer;
            }
            return getTestServer();
        }
    
    
        private String getTestDC () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Config.java

                    }
                    catch ( UnknownHostException uhe ) {
                        log.error("Unknown host " + addr, uhe);
                        return def;
                    }
                }
                return arr;
            }
            return def;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/MethodDesc.java

         *
         * @return {@link BeanDesc}
         */
        BeanDesc getBeanDesc();
    
        /**
         * メソッドを返します。
         *
         * @return コンストラクタ
         */
        Method getMethod();
    
        /**
         * メソッド名を返します。
         *
         * @return メソッド名
         */
        String getMethodName();
    
        /**
         * メソッドの引数型の配列を返します。
         *
         * @return メソッドの引数型の配列
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

            case CrudMode.CREATE:
                return OptionalEntity.of(new AccessToken()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

            case CrudMode.CREATE:
                return OptionalEntity.of(new LabelType()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            if (id.length() > 445) {
                return id.substring(0, ID_MAX_LENGTH);
            }
            return id;
        }
    
        public static String[] parseQuery(final String q, final String field) {
            final List<String> keywords = getKeywords(q, new String[] { field });
            if (MAX_QUERY_TERM_NUM < keywords.size()) {
                return new String[0];
            }
            for (final String k : keywords) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. cmd/is-dir-empty_linux.go

    package cmd
    
    import (
    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top