Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for getResult (0.14 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

                System.arraycopy(buf, off, processedBytes, pos, len);
                pos += len;
                return true;
              }
    
              @Override
              public byte[] getResult() {
                return processedBytes;
              }
            };
    
        source.read(processor);
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            final MavenSession ms = nonNull(getMavenSession());
            final MavenSession mss;
            if (repoSession != ms.getRepositorySession()) {
                mss = new MavenSession(repoSession, ms.getRequest(), ms.getResult());
            } else {
                mss = ms;
            }
            return newSession(mss, repositories);
        }
    
        protected Session newSession(MavenSession mavenSession, List<RemoteRepository> repositories) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSourceTester.java

                    out.write(buf, off, len);
                    return true;
                  }
    
                  @Override
                  public byte[] getResult() {
                    return out.toByteArray();
                  }
                });
    
        assertExpectedBytes(readBytes);
      }
    
      public void testHash() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ResourcesTest.java

              @Override
              public boolean processLine(String line) {
                collector.add(whitespace().trimFrom(line));
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
              }
            };
        List<String> result = Resources.readLines(resource, US_ASCII, collectAndLowercaseAndTrim);
        assertEquals(3600, result.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Resources.java

              @Override
              public boolean processLine(String line) {
                result.add(line);
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return result;
              }
            });
      }
    
      /**
       * Copies all bytes from a URL to an output stream.
       *
       * @param from the URL to read from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                }
    
                buf = new NdrBuffer(stub, 0);
                msg.decode(buf);
            } finally {
                jcifs.smb1.smb1.BufferCache.releaseBuffer(stub);
            }
    
            if ((de = msg.getResult()) != null)
                throw de;
        }
    
        public void setDcerpcSecurityProvider(DcerpcSecurityProvider securityProvider)
        {
            this.securityProvider = securityProvider;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            final IndexResponse response = builder.execute().actionGet(indexTimeout);
            esEntity.asDocMeta().id(response.getId());
            return response.getResult() == Result.CREATED ? 1 : 0;
        }
    
        protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ResourcesTest.java

              @Override
              public boolean processLine(String line) {
                collector.add(whitespace().trimFrom(line));
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
              }
            };
        List<String> result = Resources.readLines(resource, US_ASCII, collectAndLowercaseAndTrim);
        assertEquals(3600, result.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharStreams.java

        String line;
        while ((line = lineReader.readLine()) != null) {
          if (!processor.processLine(line)) {
            break;
          }
        }
        return processor.getResult();
      }
    
      /**
       * Reads and discards data from the given {@code Readable} until the end of the stream is reached.
       * Returns the total number of chars read. Does not close the stream.
       *
       * @since 20.0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            if (!sourceFile.name.endsWith(".java")) return emptyMap()
    
            val versionsToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>()
            JavaParser().parse(sourceFile).getResult().get().run {
                solver.inject(this)
                findAllIncubating()
                    .map { node -> toVersionIncubating(sourceFile, node) }
                    .forEach { (version, incubating) ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top