Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3881 - 3890 of 7,017 for string (0.14 seconds)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            @DisplayName("Should create mock with string name")
            void testMockWithStringName() {
                String nameStr = "MOCK_CONTEXT";
                MockCreateContextResponse mock = new MockCreateContextResponse(nameStr);
    
                assertArrayEquals(nameStr.getBytes(StandardCharsets.UTF_8), mock.getName());
            }
    
            @Test
            @DisplayName("Should handle null string name")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. internal/s3select/sql/stringfuncs_contrib_test.go

     * limitations under the License.
     */
    
    package sql
    
    import "testing"
    
    func TestEvalSQLSubstring(t *testing.T) {
    	evalCases := []struct {
    		s           string
    		startIdx    int
    		length      int
    		resExpected string
    		errExpected error
    	}{
    		{"abcd", 1, 1, "a", nil},
    		{"abcd", -1, 1, "a", nil},
    		{"abcd", 999, 999, "", nil},
    		{"", 999, 999, "", nil},
    		{"测试abc", 1, 1, "测", nil},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RepositoriesSetupPlugin.java

                // such that we don't have to pass hardcoded files to gradle
                repos.mavenLocal();
            }
            repos.mavenCentral();
    
            String luceneVersion = VersionProperties.getLucene();
            if (luceneVersion.contains("-snapshot")) {
                // extract the revision number from the version with a regex matcher
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/BuildFailureException.java

     */
    package org.apache.maven;
    
    /**
     * One or more builds failed.
     *
     */
    public class BuildFailureException extends Exception {
        public BuildFailureException(String message) {
            super(message);
        }
    
        public BuildFailureException(String message, Throwable cause) {
            super(message, cause);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java

    import javax.inject.Named;
    
    /**
     * Wagon with per-lookup instantiation strategy.
     */
    @Named("perlookup")
    public class PerLookupWagon extends WagonMock {
    
        public String[] getSupportedProtocols() {
            return new String[] {"perlookup"};
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

    abstract class AbstractSuperClassChangesRule extends AbstractGradleViolationRule {
    
        private final List<Pattern> publicApiPatterns
    
        AbstractSuperClassChangesRule(Map<String, Object> params) {
            super(params)
            final List<String> publicApiPatterns = (List<String>)params['publicApiPatterns'];
            this.publicApiPatterns = publicApiPatterns.collect { Pattern.compile(it) }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseRecorder.java

    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     * @since 3.0
     */
    public class PhaseRecorder {
        private String lastLifecyclePhase;
    
        private final MavenProject project;
    
        public PhaseRecorder(MavenProject project) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        )
        assertThat(callbacks).isEmpty()
      }
    
      private fun consumeEvents(source: String) {
        val callback: ServerSentEventReader.Callback =
          object : ServerSentEventReader.Callback {
            override fun onEvent(
              id: String?,
              type: String?,
              data: String,
            ) {
              callbacks.add(Event(id, type, data))
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/json-base64-bytes.md

    JSON can only contain UTF-8 encoded strings, so it can't contain raw bytes.
    
    Base64 can encode binary data in strings, but to do it, it needs to use more characters than the original binary data, so it would normally be less efficient than regular files.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

            System.arraycopy(buffer, bufferIndex, reserved, 0, 8);
            return 8;
        }
    
        /**
         * Get the context name as string
         * @return the context name
         */
        public String getContextName() {
            return CONTEXT_NAME;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top