Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,672 for orResult (0.05 sec)

  1. guava/src/com/google/common/io/CharSource.java

        Closer closer = Closer.create();
        try {
          BufferedReader reader = closer.register(openBufferedStream());
          List<String> result = new ArrayList<>();
          String line;
          while ((line = reader.readLine()) != null) {
            result.add(line);
          }
          return ImmutableList.copyOf(result);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

            .setBody(fileToBytes(file))
            .addHeader("content-type: " + contentType(path));
      }
    
      private Buffer fileToBytes(File file) throws IOException {
        Buffer result = new Buffer();
        result.writeAll(Okio.source(file));
        return result;
      }
    
      private String contentType(String path) {
        if (path.endsWith(".png")) return "image/png";
        if (path.endsWith(".jpg")) return "image/jpeg";
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    
    /**
     * Unit tests for {@link DcerpcMessage}. The tests exercise flag handling,
     * result extraction, header encoding/decoding, and the round-trip of an
     * encode/decode operation.
     */
    public class DcerpcMessageTest {
    
        /**
         * A trivial concrete subclass used for testing. It simply writes a
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                request.setRemoteRepositories(project.getRemoteArtifactRepositories());
    
                ArtifactResolutionResult result = repositorySystem.resolve(request);
    
                try {
                    resolutionErrorHandler.throwErrors(request, result);
                } catch (MultipleArtifactsNotFoundException e) {
    
                    Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.4K bytes
    - Viewed (1)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                    throws ComponentConfigurationException {
                final Object result =
                        super.fromConfiguration(lookup, configuration, type, enclosingType, loader, evaluator, listener);
    
                return result instanceof Path path
                        ? evaluator.alignToBaseDirectory(path.toFile()).toPath()
                        : result;
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        SettingsDecryptionResult result = settingsDecrypter.decrypt(request);
                        server = result.getServer();
    
                        if (logger.isDebugEnabled()) {
                            for (SettingsProblem problem : result.getProblems()) {
                                logger.debug(problem.getMessage(), problem.getException());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                byte[] buffer = new byte[1024];
                int result = request.readBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of buffer position")
            void testReadBytesWireFormatDifferentPosition() {
                byte[] buffer = new byte[1024];
                int result = request.readBytesWireFormat(buffer, 100);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            }
        }
    
        /**
         * Returns the header for the result data.
         * @return The result data header.
         */
        protected String getResultDataHeader() {
            // TODO support other type
            return "<?xml version=\"1.0\"?>\n<doc>\n";
        }
    
        /**
         * Returns the body of the result data for a single value.
         * @param name The name of the field.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java

            final EditBody form = new EditBody();
            AdminGeneralAction.updateForm(fessConfig, form);
            form.ldapAdminSecurityCredentials = null;
            return asJson(new ApiConfigResponse().setting(form).status(Status.OK).result());
        }
    
        // PUT /api/admin/general
        /**
         * Updates the general system settings.
         * Merges the provided settings with existing configuration and applies changes.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

         * most 3 components (not including the first index which is always empty):
         * result[0] = ""
         * result[1] = "fs1.example.com"
         * result[2] = "root5"
         * result[3] = "link2\foo\bar.txt"
         */
        void dfsPathSplit(final String path, final String[] result) {
            int ri = 0;
            final int rlast = result.length - 1;
            int i = 0, b = 0;
            final int len = path.length();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top