Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2481 - 2490 of 6,702 for If (0.01 seconds)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

        }
    
        /**
         * Determines whether the current request is authorized to access admin API endpoints.
         * This method validates the access token and checks if the associated permissions
         * allow admin access according to the Fess configuration.
         *
         * @return true if admin access is allowed, false otherwise
         */
        @Override
        protected boolean isAccessAllowed() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. internal/disk/stat_solaris.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. cmd/streaming-signature-v4_test.go

    	for i, tt := range testCases {
    		chunkSize, chunkSignature, err := readChunkLine(tt.reader)
    		if err != tt.expectedErr {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, tt.expectedErr, err)
    		}
    		if !bytes.Equal(chunkSize, tt.chunkSize) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSize), string(chunkSize))
    		}
    		if !bytes.Equal(chunkSignature, tt.chunkSignature) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         */
        public Map<String, Lifecycle> getPhaseToLifecycleMap() {
            if (logger.isDebugEnabled() && !lifecyclesPrinted) {
                for (Lifecycle lifecycle : getLifeCycles()) {
                    logger.debug("Lifecycle {}", lifecycle);
                }
                lifecyclesPrinted = true;
            }
    
            // If people are going to make their own lifecycles then we need to tell people how to namespace them correctly
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

         * For example, if the {@code module-info.class} entry of a <abbr>JAR</abbr> file exists only in the
         * {@code META-INF/versions/17/} sub-directory, then the default location of that dependency will be
         * the module-path only if the {@code --release} option is equal or greater than 17.
         *
         * <p>If this value is not provided, then the default value in the context of Java projects
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            active = true;
    
            // TODO if it was null, we really need to go find them now... or is this taken care of by the ordering?
            if (children != null) {
                for (ResolutionNode node : children) {
                    node.enable();
                }
            }
        }
    
        public void disable() {
            active = false;
            if (children != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

            if (session != null && id != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
                    List<Server> servers = request.getServers();
    
                    if (servers != null) {
                        for (Server server : servers) {
                            if (id.equalsIgnoreCase(server.getId())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

            // Since it costs IO to compute this, and is done at configuration time we want to cache this if possible
            // It's safe to store this in a static variable since it's just a primitive so leaking memory isn't an issue
            if (_defaultParallel == null) {
                File cpuInfoFile = new File("/proc/cpuinfo");
                if (cpuInfoFile.exists()) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizer.java

            if (text == null) {
                return null;
            }
            final char[] chars = new char[text.length()];
            for (int i = 0; i < chars.length; i++) {
                final char c = text.charAt(i);
                if (c >= 'a' && c <= 'z') {
                    chars[i] = (char) (c - 'a' + 'a');
                } else if (c >= 'A' && c <= 'Z') {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. ci/official/upload.sh

    # "gsutil rsync -d" is "sync and delete files from destination if not present in source"
    
    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    ls "$DOWNLOADS"
    
    # Upload all build artifacts to e.g. gs://tensorflow/versions/2.16.0-rc1 (releases) or
    # gs://tensorflow/nightly/2.16.0-dev20240105 (nightly), overwriting previous values.
    if [[ "$TFCI_ARTIFACT_FINAL_GCS_ENABLE" == 1 ]]; then
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 04 22:39:12 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top