Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 7,703 for RETURN (0.08 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java

        public GitWrapper(ExecOperations execOperations) {
            this.execOperations = execOperations;
        }
    
        /**
         * @return a mapping from remote names to remote URLs.
         */
        public Map<String, String> listRemotes() {
            return runCommand("git", "remote", "-v").lines()
                .filter(l -> l.contains("(fetch)"))
                .map(line -> line.split("\\s+"))
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

          if (read == -1) {
            // end of stream before reading expectedSize bytes
            // just return the bytes read so far
            return Arrays.copyOf(bytes, off);
          }
          remaining -= read;
        }
    
        // bytes is now full
        int b = in.read();
        if (b == -1) {
          return bytes;
        }
    
        // the stream was longer, so read the rest normally
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  3. internal/once/singleton.go

    func NewSingleton[T any]() *Singleton[T] {
    	return &Singleton[T]{set: make(chan struct{}), v: nil}
    }
    
    // Get will return the singleton value.
    func (s *Singleton[T]) Get() *T {
    	<-s.set
    	return s.v
    }
    
    // GetNonBlocking will return the singleton value or nil if not set yet.
    func (s *Singleton[T]) GetNonBlocking() *T {
    	select {
    	case <-s.set:
    		return s.v
    	default:
    		return nil
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 952 bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

        }
    
        @Override
        public int getAttributes() {
            return this.fileAttributes;
        }
    
        @Override
        public long getCreateTime() {
            return convertTime(this.lastWriteTime);
        }
    
        /**
         * @param time
         * @return
         */
        private long convertTime(final long time) {
            return time + this.serverTimeZoneOffset;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/OsddHelper.java

                return null;
            }
            final File osddFile = new File(path);
            if (!osddFile.isFile()) {
                logger.warn("OSDD path is not a file: {}", path);
                return null;
            }
            return osddFile;
        }
    
        /**
         * Checks if OSDD link is enabled.
         *
         * @return true if OSDD link is enabled
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ForwardingDeque.java

        return delegate().offerFirst(e);
      }
    
      @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this?
      @Override
      public boolean offerLast(@ParametricNullness E e) {
        return delegate().offerLast(e);
      }
    
      @Override
      public @Nullable E peekFirst() {
        return delegate().peekFirst();
      }
    
      @Override
      public @Nullable E peekLast() {
        return delegate().peekLast();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

                this.session = session;
                return this;
            }
    
            @Nonnull
            public ArtifactDeployerRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            @Nonnull
            public ArtifactDeployerRequestBuilder repository(RemoteRepository repository) {
                this.repository = repository;
                return this;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
            return vertices.get(id);
        }
    
        public Collection<Vertex> getVertices() {
            return vertices.values();
        }
    
        Vertex addVertex(String label) {
            return vertices.computeIfAbsent(label, Vertex::new);
        }
    
        void addEdge(Vertex from, Vertex to) throws CycleDetectedException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

                if (filter.include(artifact)) {
                    return true;
                }
            }
    
            return false;
        }
    
        public void add(ArtifactFilter artifactFilter) {
            filters.add(artifactFilter);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + filters.hashCode();
            return hash;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Joiner.java

         */
        requireNonNull(part);
        return (part instanceof CharSequence) ? (CharSequence) part : part.toString();
      }
    
      private static Iterable<@Nullable Object> iterable(
          @Nullable Object first, @Nullable Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
        return new AbstractList<@Nullable Object>() {
          @Override
          public int size() {
            return rest.length + 2;
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top