Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3481 - 3490 of 6,434 for fstring (0.14 seconds)

  1. cmd/metacache-entries_test.go

    	if !reflect.DeepEqual(want, got) {
    		t.Errorf("got unexpected result: %#v", got)
    	}
    }
    
    func Test_metaCacheEntry_isInDir(t *testing.T) {
    	tests := []struct {
    		testName string
    		entry    string
    		dir      string
    		sep      string
    		want     bool
    	}{
    		{
    			testName: "basic-file",
    			entry:    "src/file",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

        }
    
        @Nested
        class ConstructorTests {
    
            @Test
            public void testConstructorWithValidUrl() throws MalformedURLException {
                // Test basic constructor with a valid SMB URL
                String url = "smb1://server/share/file.txt";
                SmbFile smbFile = new SmbFile(url);
                assertNotNull(smbFile);
                assertEquals("smb1://server/share/file.txt", smbFile.getPath());
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

         *         or null if the input URL is null
         */
        public String convert(final String url) {
            if (url == null) {
                return null;
            }
    
            if (duplicateHostList == null) {
                init();
            }
    
            String newUrl = url;
            for (final DuplicateHost duplicateHost : duplicateHostList) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

        .build()
    
    private val TLS_12 =
      ConnectionSpec
        .Builder(ConnectionSpec.RESTRICTED_TLS)
        .tlsVersions(TlsVersion.TLS_1_2)
        .build()
    
    private fun testClient(
      urls: List<String>,
      client: OkHttpClient,
    ) {
      try {
        for (url in urls) {
          sendRequest(client, url)
        }
      } finally {
        client.dispatcher.executorService.shutdownNow()
        client.connectionPool.evictAll()
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu May 22 14:39:30 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java

         * @param settings The settings to serialize, must not be {@code null}.
         * @throws IOException If the settings could not be serialized.
         */
        void write(File output, Map<String, Object> options, Settings settings) throws IOException;
    
        /**
         * Writes the supplied settings to the specified character writer. The writer will be automatically closed before
         * the method returns.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. cmd/xl-storage_windows_test.go

    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    		{`/p/q/r/s/t`, true},
    	}
    	dir := t.TempDir()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/ReaderUtil.java

         * @return the text read from the reader
         */
        public static String readText(final Reader reader) {
            assertArgumentNotNull("reader", reader);
    
            final StringBuilder buf = new StringBuilder(BUF_SIZE);
            CopyUtil.copy(reader, buf);
            return new String(buf);
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("NetServerEnum2[" + super.toString() + ",name=" + this.name + ",serverTypes="
                    + (this.serverTypes == SV_TYPE_ALL ? "SV_TYPE_ALL" : "SV_TYPE_DOMAIN_ENUM") + "]");
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

        private static final ConcurrentMap<String, Object> EXPRESSION_CACHE = new ConcurrentHashMap<>();
    
        protected Object fromExpression(
                final PlexusConfiguration configuration, final ExpressionEvaluator evaluator, final Class<?> type)
                throws ComponentConfigurationException {
            String value = configuration.getValue();
            try {
                Object result = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

                reactorContext = new ReactorContext(result, oldContextClassLoader, reactorBuildStatus);
    
                String builderId = session.getRequest().getBuilderId();
                Builder builder = builders.get(builderId);
                if (builder == null) {
                    throw new BuilderNotFoundException(
                            String.format("The builder requested using id = %s cannot be" + " found", builderId));
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
Back to Top