Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for genMessage (0.33 sec)

  1. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            try {
                getProject(f1);
                fail("Expected 'ProjectBuildingException' not thrown.");
            } catch (final ProjectBuildingException e) {
                assertNotNull(e.getMessage());
                assertThat(e.getMessage(), containsString("Version must be a constant"));
            }
        }
    
        /**
         * Tests whether local version range parent references are build correctly.
         *
         * @throws Exception
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:04:04 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy

            then:
            def ex = thrown(IllegalStateException)
            1 * context.getProjectPath() >> Path.path('foo')
            ex.getMessage().contains('Dependency locking cannot be used for project')
            ex.getMessage().contains('foo')
        }
    
        def 'fails to read a legacy lockfile if root could not be determined'() {
            FileResolver resolver = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                                loc != null ? loc.getLineNumber() : -1,
                                loc != null ? loc.getColumnNumber() : -1,
                                e,
                                e.getMessage(),
                                BuilderProblem.Severity.WARNING));
                    }
                }
            } catch (XmlReaderException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    }
                }
    
                message = "The build could not read " + children.size() + " project" + (children.size() == 1 ? "" : "s");
            } else {
                message = getMessage(message, exception);
            }
    
            return new ExceptionSummary(exception, message, reference, children);
        }
    
        private ExceptionSummary handle(ProjectBuildingResult result) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChainTest.groovy

            given:
            platform.displayName >> '<unknown>'
    
            expect:
            def platformToolChain = toolChain.select(language, platform)
            !platformToolChain.available
            getMessage(platformToolChain) == "Don't know how to build for <unknown>."
    
            where:
            language << [NativeLanguage.ANY, NativeLanguage.CPP]
        }
    
        def "is unavailable when language is not known"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

                pluginManager.setupPluginRealm(pluginDescriptor, session, null, null, null);
            } catch (Exception e) {
                throw new PluginManagerException(plugin, e.getMessage(), e);
            }
    
            ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(pluginDescriptor.getClassRealm());
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java

                return e;
            }
    
            SSLHandshakeException sslException = (SSLHandshakeException) e;
            String message;
    
            if (e.getMessage().contains("PKIX path building failed") || e.getMessage().contains("certificate_unknown")) {
                message = "Got SSL handshake exception during request. It might be caused by SSL misconfiguration";
            } else {
                message = String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top