Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for genMessage (0.1 sec)

  1. internal/s3select/genmessage.go

    Harshavardhana <******@****.***> 1629336922 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  2. internal/s3select/message.go

    // hence the calculation is made accordingly.
    func totalByteLength(headerLength, payloadLength int) int {
    	return 4 + 4 + 4 + headerLength + payloadLength + 4
    }
    
    func genMessage(header, payload []byte) []byte {
    	headerLength := len(header)
    	payloadLength := len(payload)
    	totalLength := totalByteLength(headerLength, payloadLength)
    
    	buf := new(bytes.Buffer)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

                    if (!fatals.contains(req.getMessage())) {
                        fatals.add(req.getMessage());
                    }
                    break;
                case ERROR:
                    if (!errors.contains(req.getMessage())) {
                        errors.add(req.getMessage());
                    }
                    break;
                case WARNING:
                    if (!warnings.contains(req.getMessage())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

            final String s = MessageFormatter.getMessage("EMSG0000");
            System.out.println(s);
            assertThat(s, is("[EMSG0000]test"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessageWithArgs() throws Exception {
            final String s = MessageFormatter.getMessage("EMSG0001", "hoge");
            System.out.println(s);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    () -> newModelResolver().resolveModel(parent, new AtomicReference<>()),
                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
            assertTrue(e.getMessage().contains("Could not find artifact ut.simple:artifact:pom:0 in repo"));
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                } catch (RepositoryMetadataReadException e) {
                    if (getLogger().isDebugEnabled()) {
                        getLogger().warn(e.getMessage(), e);
                    } else {
                        getLogger().warn(e.getMessage());
                    }
                    return setRepository;
                }
    
                if (repoMetadata.isSnapshot() && (previousMetadata != null)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

            if (e != null) {
                if (e instanceof MetadataNotFoundException) {
                    logger.debug(e.getMessage());
                } else if (logger.isDebugEnabled()) {
                    logger.warn(e.getMessage(), e);
                } else {
                    logger.warn(e.getMessage());
                }
            }
        }
    
        @Override
        public void metadataInvalid(RepositoryEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                throw new TransferFailedException("Connection failed: " + e.getMessage(), e);
            } catch (AuthenticationException e) {
                throw new TransferFailedException("Authentication failed: " + e.getMessage(), e);
            } catch (AuthorizationException e) {
                throw new TransferFailedException("Authorization failed: " + e.getMessage(), e);
            } finally {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

        assertThat(expected.getMessage()).contains("1, 2");
      }
    
      public void testOnlyElementMany() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> Stream.of(1, 2, 3, 4, 5, 6).collect(onlyElement()));
        assertThat(expected.getMessage()).contains("1, 2, 3, 4, 5, ...");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

        void testNoProblems() {
            ToolchainsBuildingException e = new ToolchainsBuildingException(Collections.<Problem>emptyList());
            assertEquals("0 problems were encountered while building the effective toolchains" + LS, e.getMessage());
        }
    
        @Test
        void testOneProblem() {
            ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top