Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 611 for ltrim (0.04 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("1", "trim", StringUtil.ltrim("zzzytrim", "xyz"));
            assertEquals("2", "", StringUtil.ltrim("xyz", "xyz"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRtrim() throws Exception {
            assertEquals("trim", StringUtil.rtrim("trimxxxx", "x"));
            assertEquals("", StringUtil.rtrim("xyz", "xyz"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @return 結果の文字列
         */
        public static final String ltrim(final String text) {
            return ltrim(text, null);
        }
    
        /**
         * 左側の指定した文字列を削ります。
         *
         * @param text
         *            テキスト
         * @param trimText
         *            削るテキスト
         * @return 結果の文字列
         */
        public static final String ltrim(final String text, String trimText) {
            if (text == null) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/trim.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    import "cmd/internal/src"
    
    // trim removes blocks with no code in them.
    // These blocks were inserted to remove critical edges.
    func trim(f *Func) {
    	n := 0
    	for _, b := range f.Blocks {
    		if !trimmableBlock(b) {
    			f.Blocks[n] = b
    			n++
    			continue
    		}
    
    		bPos := b.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/trim-functions-tf.mlir

    // RUN: tf-opt -tfl-trim-funcs-tf="trim-funcs-allowlist=bar,foobar" %s | FileCheck %s
    
    func.func @foo(%arg0: tensor<1x4xf32>, %arg1: tensor<1x4xf32>) -> tensor<1x4xf32> {
      func.return %arg0 : tensor<1x4xf32>
    }
    
    func.func @bar(%arg0: tensor<2x4xf32>, %arg1: tensor<2x4xf32>) -> tensor<2x4xf32> {
      func.return %arg0 : tensor<2x4xf32>
    }
    
    func.func @foobar(%arg0: tensor<1x4xf32>, %arg1: tensor<1x4xf32>) -> tensor<1x4xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 26 23:53:32 UTC 2022
    - 565 bytes
    - Viewed (0)
  5. releasenotes/notes/trim-certificate-chain.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 175 bytes
    - Viewed (0)
  6. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeBuilder.java

                throws XmlPullParserException, IOException {
            XmlPullParser parser = new MXParser();
            parser.setInput(is, encoding);
            return build(parser, trim);
        }
    
        public static XmlNodeImpl build(Reader reader, boolean trim) throws XmlPullParserException, IOException {
            return build(reader, trim, null);
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/templates/istiod-injector-configmap.yaml

    {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }}
          gateway: |
    {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "grpc-simple") }}
          grpc-simple: |
    {{ .Files.Get "files/grpc-simple.yaml" | trim | indent 8 }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/templates/istiod-injector-configmap.yaml

    {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }}
          gateway: |
    {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "grpc-simple") }}
          grpc-simple: |
    {{ .Files.Get "files/grpc-simple.yaml" | trim | indent 8 }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/BuilderSupport.groovy

            int indent = 0
            content.split("[\r]?\n").collect { line ->
                String trim = line.trim()
                def out
                if (trim.count("}") > trim.count("{")) {
                    indent--
                }
                out = ("    " * indent) + trim
                if (trim.count("{") > trim.count("}")) {
                    indent++
                }
                out
            }.join("\n")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cache/cache_test.go

    	// Trim should leave everything alone: it's all too new.
    	if err := c.Trim(); err != nil {
    		if testenv.SyscallIsNotSupported(err) {
    			t.Skipf("skipping: Trim is unsupported (%v)", err)
    		}
    		t.Fatal(err)
    	}
    	if _, err := c.Get(id); err != nil {
    		t.Fatal(err)
    	}
    	c.OutputFile(entry.OutputID)
    	data, err := os.ReadFile(filepath.Join(dir, "trim.txt"))
    	if err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top