Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3251 - 3260 of 7,804 for RETURN (0.04 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

            if (file == null) {
                return null;
            } else if (file.isAbsolute()) {
                return file;
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path
                return file.getAbsoluteFile();
            } else {
                return Paths.get(baseDirectory, file.getPath()).normalize().toFile();
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       */
      public static <V extends @Nullable Object> ListenableFuture<V> listenInPoolThread(
          Future<V> future) {
        if (future instanceof ListenableFuture) {
          return (ListenableFuture<V>) future;
        }
        return new ListenableFutureAdapter<>(future);
      }
    
      /**
       * Submits a blocking task for the given {@link Future} to provide {@link ListenableFuture}
       * functionality.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                        return e;
                    }
                }
    
                return null;
            }
    
            @SuppressWarnings({"unchecked", "checkstyle:methodlength"})
            private void traverseObjectWithParents(Class<?> cls, Object target) throws ModelInterpolationException {
                if (cls == null) {
                    return;
                }
    
                if (cls.isArray()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. internal/net/net.go

    	proc, err := procfs.Self()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	netDev, err := proc.NetDev()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	ndl, ok := netDev[interf]
    	if !ok {
    		return procfs.NetDevLine{}, fmt.Errorf("%v interface not found", interf)
    	}
    	return ndl, nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 17 08:14:01 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

                        break;
                    default:
                        break;
                    }
                }
            }
            if (boolQuery.hasClauses()) {
                return boolQuery;
            }
            return null;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. internal/bucket/bandwidth/monitor.go

    // SelectBuckets will select all the buckets passed in.
    func SelectBuckets(buckets ...string) SelectionFunction {
    	if len(buckets) == 0 {
    		return func(bucket string) bool {
    			return true
    		}
    	}
    	return func(bucket string) bool {
    		return slices.Contains(buckets, bucket)
    	}
    }
    
    // Details for the measured bandwidth
    type Details struct {
    	LimitInBytesPerSecond            int64   `json:"limitInBits"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. internal/deadlineconn/deadlineconn_test.go

    			return
    		}
    
    		// Wait for more than read timeout to simulate processing.
    		time.Sleep(3 * time.Second)
    
    		_, terr = deadlineconn.Read(b)
    		if terr != nil {
    			t.Errorf("failed to read from client. %v", terr)
    			return
    		}
    		received = string(b)
    		if received != "message two\n" {
    			t.Errorf(`server: expected: "message two\n", got: %v`, received)
    			return
    		}
    
    		// Send a response.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 17:15:17 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                private CrawlingInfo storedInfo;
                private List<CrawlingInfoParam> storedParams;
    
                @Override
                public CrawlingInfo getLast(String sessionId) {
                    return null; // Return null to simulate create scenario
                }
    
                @Override
                public void store(CrawlingInfo entity) {
                    storedInfo = entity;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

        @Override
        protected String getNamePrefix() {
            return NAME_PREFIX;
        }
    
        @Override
        protected String getApiPath() {
            return API_PATH;
        }
    
        @Override
        protected String getKeyProperty() {
            return KEY_PROPERTY;
        }
    
        @Override
        protected String getListEndpointSuffix() {
            return "";
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

        }
    
        /**
         * Checks if the response has any errors.
         * @return True if there are errors, false otherwise.
         */
        public boolean hasError() {
            return !errors.isEmpty();
        }
    
        /**
         * Returns the list of errors.
         * @return The list of errors.
         */
        public List<Throwable> getErrors() {
            return errors;
        }
    
        /**
         * Returns the time taken for the operation.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 2K bytes
    - Click Count (0)
Back to Top