Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for replaceable (0.37 sec)

  1. src/html/template/escape_test.go

    			`<h3><table><thead>...</h3>`,
    		},
    		{
    			"bad dynamic element name",
    			// Dynamic element names are typically used to switch
    			// between (thead, tfoot, tbody), (ul, ol), (th, td),
    			// and other replaceable sets.
    			// We do not currently easily support (ul, ol).
    			// If we do change to support that, this test should
    			// catch failures to filter out special tag names which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

                }
    
                class SubstitutingFilter extends FilterReader {
                    SubstitutingFilter(Reader reader) {
                        super(new StringReader(reader.text.replaceAll("one", "1").replaceAll("two", "2")))
                    }
                }
            """
    
            when:
            run 'copy'
    
            then:
            file('dest/a.txt').text == "1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().set(index, element);
          }
        }
    
        @Override
        public void replaceAll(UnaryOperator<E> operator) {
          synchronized (mutex) {
            delegate().replaceAll(operator);
          }
        }
    
        @Override
        public void sort(@Nullable Comparator<? super E> c) {
          synchronized (mutex) {
            delegate().sort(c);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                dictionaryPath = dictionaryPath + "/";
            }
            source = source.replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath)//
                    .replaceAll(Pattern.quote("${fess.index.codec}"), fessConfig.getIndexCodec())//
                    .replaceAll(Pattern.quote("${fess.index.number_of_shards}"), numberOfShards)//
                    .replaceAll(Pattern.quote("${fess.index.auto_expand_replicas}"), autoExpandReplicas);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        }
    
        @Override
        protected FormatType detectFormatType(final HttpServletRequest request) {
            final String servletPath = request.getServletPath();
            final String[] values = servletPath.replaceAll("/+", "/").split("/");
            final String value = values.length > 3 ? values[3] : null;
            if (value == null) {
                return FormatType.SEARCH;
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. src/strings/strings_test.go

    			t.Errorf("Replace(%q, %q, %q, %d) = %q, want %q", tt.in, tt.old, tt.new, tt.n, s, tt.out)
    		}
    		if tt.n == -1 {
    			s := ReplaceAll(tt.in, tt.old, tt.new)
    			if s != tt.out {
    				t.Errorf("ReplaceAll(%q, %q, %q) = %q, want %q", tt.in, tt.old, tt.new, s, tt.out)
    			}
    		}
    	}
    }
    
    var TitleTests = []struct {
    	in, out string
    }{
    	{"", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider_test.go

    			CreatedAt: time.Now().UnixNano(),
    		},
    	}
    	if terminated {
    		p.PodSandboxStatus.State = runtimeapi.PodSandboxState_SANDBOX_NOTREADY
    	}
    	p.PodSandboxStatus.Id = strings.ReplaceAll(string(uuid.NewUUID()), "-", "")
    	return p
    }
    
    func makeFakeContainer(sandbox *critest.FakePodSandbox, name string, attempt uint32, terminated bool) *critest.FakeContainer {
    	sandboxID := sandbox.PodSandboxStatus.Id
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. src/net/url/url_test.go

    		out := tt.out
    		if strings.Contains(tt.in, "+") {
    			in = strings.ReplaceAll(tt.in, "+", "%20")
    			actual, err := PathUnescape(in)
    			if actual != tt.out || (err != nil) != (tt.err != nil) {
    				t.Errorf("PathUnescape(%q) = %q, %s; want %q, %s", in, actual, err, tt.out, tt.err)
    			}
    			if tt.err == nil {
    				s, err := QueryUnescape(strings.ReplaceAll(tt.in, "+", "XXX"))
    				if err != nil {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    			buf.WriteByte('\n')
    		}
    	}
    	canonicalHeaders := buf.String()
    
    	// Get signed headers.
    	signedHeaders := strings.Join(headers, ";")
    
    	// Get canonical query string.
    	req.URL.RawQuery = strings.ReplaceAll(req.URL.Query().Encode(), "+", "%20")
    
    	// Get canonical URI.
    	canonicalURI := s3utils.EncodePath(req.URL.Path)
    
    	// Get canonical request.
    	// canonicalRequest =
    	//  <HTTPMethod>\n
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

            resetExpectations()
            // Changing the host makes Gradle consider that the 2 repositories are distinct
            buildFile.text = buildFile.text.replaceAll("(?m)http://localhost", "http://127.0.0.1")
            repositoryInteractions {
                'group:projectA' {
                    expectVersionListing()
                    '1.2' {
                        expectResolve()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
Back to top