Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 939 for COMMENT (0.12 sec)

  1. pkg/util/iptables/testing/fake_test.go

    	}
    
    	// Restore
    	rules := dedent.Dedent(strings.Trim(`
    		*nat
    		:KUBE-RESTORED - [0:0]
    		:KUBE-MISC-CHAIN - [0:0]
    		:KUBE-MISC-TWO - [0:0]
    		:KUBE-EMPTY - [0:0]
    		-A KUBE-RESTORED -m comment --comment "restored chain" -j ACCEPT
    		-A KUBE-MISC-CHAIN -s 1.2.3.4 -j KUBE-MISC-TWO
    		-A KUBE-MISC-CHAIN -d 5.6.7.8 -j MASQUERADE
    		-A KUBE-MISC-TWO -j ACCEPT
    		COMMIT
    		`, "\n"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  2. src/cmd/gofmt/gofmt_test.go

    	s.Init(f)
    	s.Error = func(*scanner.Scanner, string) {}       // ignore errors
    	s.Mode = scanner.GoTokens &^ scanner.SkipComments // want comments
    
    	// look for //gofmt comment
    	for s.Line <= maxLines {
    		switch s.Scan() {
    		case scanner.Comment:
    			const prefix = "//gofmt "
    			if t := s.TokenText(); strings.HasPrefix(t, prefix) {
    				return strings.TrimSpace(t[len(prefix):])
    			}
    		case scanner.EOF:
    			return ""
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:22:49 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/fix/buildtag.go

    		return false
    	}
    
    	// File is already gofmt-ed, so we know that if there are +build lines,
    	// they are in a comment group that starts with a //go:build line followed
    	// by a blank line. While we cannot delete comments from an AST and
    	// expect consistent output in general, this specific case - deleting only
    	// some lines from a comment block - does format correctly.
    	fixed := false
    	for _, g := range f.Comments {
    		sawGoBuild := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

            ReleasedVersion(versionInfo.version, versionInfo.buildTime)
        }
    }
    
    tasks.register<UpdateAgpVersions>("updateAgpVersions") {
        comment = " Generated - Update by running `./gradlew updateAgpVersions`"
        minimumSupportedMinor = "7.3"
        propertiesFile = layout.projectDirectory.file("gradle/dependency-management/agp-versions.properties")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:17:36 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/go/doc/comment/mkstd.sh

    #!/bin/bash
    # Copyright 2022 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # This could be a good use for embed but go/doc/comment
    # is built into the bootstrap go command, so it can't use embed.
    # Also not using embed lets us emit a string array directly
    # and avoid init-time work.
    
    (
    echo "// Copyright 2022 The Go Authors. All rights reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:42 UTC 2022
    - 768 bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/KtExpandedTypeRenderingMode.kt

         * Renders the abbreviated type as-is and its expansion in a comment, e.g. `foo.bar.StringAlias /* = kotlin.String */`.
         */
        RENDER_ABBREVIATED_TYPE_WITH_EXPANDED_TYPE_COMMENT,
    
        /**
         * Renders the expanded type as-is, e.g. `kotlin.String`.
         */
        RENDER_EXPANDED_TYPE,
    
        /**
         * Renders the expanded type as-is and its abbreviated type in a comment, e.g. `kotlin.String /* from: foo.bar.StringAlias */`.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. internal/config/config.go

    				currKVS.Set(kv.Key, kv.Value)
    			}
    		}
    	}
    
    	for _, kv := range kvs {
    		if kv.Key == Comment {
    			// Skip comment and add it later.
    			continue
    		}
    		currKVS.Set(kv.Key, kv.Value)
    	}
    
    	v, ok := kvs.Lookup(Comment)
    	if ok {
    		currKVS.Set(Comment, v)
    	}
    
    	hkvs := HelpSubSysMap[subSys]
    	for _, hkv := range hkvs {
    		var enabled bool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  8. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/tasks/IvyDescriptorFileGenerator.java

                }
    
                @Override
                public OptionalAttributeXmlWriter comment(String comment) throws IOException {
                    super.comment(comment);
                    return this;
                }
            }
        }
    
        public static void insertGradleMetadataMarker(XmlProvider xmlProvider) {
            String comment = Joiner.on("").join(
                Streams.concat(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. migrator/column_type.go

    func (ct ColumnType) ScanType() reflect.Type {
    	if ct.ScanTypeValue != nil {
    		return ct.ScanTypeValue
    	}
    	return ct.SQLColumnType.ScanType()
    }
    
    // Comment returns the comment of current column.
    func (ct ColumnType) Comment() (value string, ok bool) {
    	return ct.CommentValue.String, ct.CommentValue.Valid
    }
    
    // DefaultValue returns the default value of current column.
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/stylesheets/custom-highlight/kotlin-hl.xml

      ~ limitations under the License.
      -->
    <highlighters>
        <highlighter type="multiline-comment">
            <start>/**</start>
            <end>*/</end>
            <style>doccomment</style>
        </highlighter>
        <highlighter type="multiline-comment">
            <start>/*</start>
            <end>*/</end>
        </highlighter>
        <highlighter type="oneline-comment">//</highlighter>
        <highlighter type="string">
            <string>"</string>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top