Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 911 - 920 of 982 for utf8 (0.03 seconds)

  1. src/archive/tar/strconv.go

    	}
    	return record, nil
    }
    
    // validPAXRecord reports whether the key-value pair is valid where each
    // record is formatted as:
    //
    //	"%d %s=%s\n" % (size, key, value)
    //
    // Keys and values should be UTF-8, but the number of bad writers out there
    // forces us to be more liberal.
    // Thus, we only reject all keys with NUL, and only reject NULs in values
    // for the PAX version of the USTAR string fields.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            private final String output;
    
            public TestInputStreamThread(String output) {
                super(new java.io.ByteArrayInputStream(new byte[0]), java.nio.charset.StandardCharsets.UTF_8, 1000, null);
                this.output = output;
            }
    
            @Override
            public void start() {
            }
    
            @Override
            public String getOutput() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  3. src/archive/zip/writer_test.go

    			comment: "the replacement rune is �",
    			flags:   0x808,
    		},
    		{
    			// Name is Japanese encoded in Shift JIS.
    			name:    "\x93\xfa\x96{\x8c\xea.txt",
    			comment: "in the 世界",
    			flags:   0x008, // UTF-8 must not be set
    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, test := range utf8Tests {
    		h := &FileHeader{
    			Name:    test.name,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

            File versionsFile = new File(root, DEFAULT_VERSION_JAVA_FILE_PATH);
            try {
                List<String> versionLines = IOUtils.readLines(new FileInputStream(versionsFile), "UTF-8");
                return new BwcVersions(versionLines);
            } catch (IOException e) {
                throw new IllegalStateException("Unable to resolve to resolve bwc versions from versionsFile.", e);
            }
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

          client.newCall(
            Request(
              url = server.url("/foo"),
              body =
                object : RequestBody() {
                  override fun contentType(): MediaType = "text/plain; charset=utf-8".toMediaType()
    
                  override fun writeTo(sink: BufferedSink) {
                    sink.write(postBytes)
                  }
                },
            ),
          )
        val response = call.execute()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                // expected
            } finally {
                // restore sysout
                System.setOut(oldOut);
            }
            String versionOut = new String(systemOut.toByteArray(), StandardCharsets.UTF_8);
    
            // then
            assertEquals(stripAnsiCodes(versionOut), versionOut);
        }
    
        @Test
        void populatePropertiesCanContainEqualsSign() throws Exception {
            // Arrange
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                        }
                    }
                    perSnippet(snippet)
                    snippet = null
                }
                file.eachLine('UTF-8') { String line, int lineNumber ->
                    Matcher matcher
                    matcher = line =~ /\[testenv="([^"]+)"\]\s*/
                    if (matcher.matches()) {
                        testEnv = matcher.group(1)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
            ComponentUtil.register(new MockFessConfig(), "fessConfig");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            });
            return redirectWith(getClass(), moreUrl("search").params("q", URLUtil.encode(form.q, Constants.UTF_8)));
        }
    
        // ===================================================================================
        //                                                                       Validation
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  10. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    
            relatedQueryHelper = new RelatedQueryHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.7K bytes
    - Click Count (0)
Back to Top