Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for COMMENT (0.34 sec)

  1. pkg/proxy/iptables/proxier.go

    				proxier.logger.Error(err, "Failed to ensure chain exists", "table", jump.table, "chain", jump.dstChain)
    				return
    			}
    			args := jump.extraArgs
    			if jump.comment != "" {
    				args = append(args, "-m", "comment", "--comment", jump.comment)
    			}
    			args = append(args, "-j", string(jump.dstChain))
    			if _, err := proxier.iptables.EnsureRule(utiliptables.Prepend, jump.table, jump.srcChain, args...); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  2. src/encoding/xml/marshal_test.go

    }
    
    type T1 struct{}
    type T2 struct{}
    
    type IndirComment struct {
    	T1      T1
    	Comment *string `xml:",comment"`
    	T2      T2
    }
    
    type DirectComment struct {
    	T1      T1
    	Comment string `xml:",comment"`
    	T2      T2
    }
    
    type IfaceComment struct {
    	T1      T1
    	Comment any `xml:",comment"`
    	T2      T2
    }
    
    type IndirChardata struct {
    	T1       T1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  3. src/go/build/build.go

    		comment, _, ok = bytes.Cut(data[2:], starSlash)
    		if !ok {
    			// malformed comment
    			return "", 0
    		}
    		if bytes.Contains(comment, newline) {
    			return "", 0
    		}
    	}
    	comment = bytes.TrimSpace(comment)
    
    	// split comment into `import`, `"pkg"`
    	word, arg := parseWord(comment)
    	if string(word) != "import" {
    		return "", 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. docs/bucket/notifications/README.md

    queue_dir      (path)      staging dir for undelivered messages e.g. '/home/events'
    queue_limit    (number)    maximum limit for undelivered messages, defaults to '100000'
    comment        (sentence)  optionally add a comment to this setting
    ```
    
    Or environment variables
    
    ```
    KEY:
    notify_amqp[:name]  publish bucket notifications to AMQP endpoints
    
    ARGS:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    		Comment: ptr.To("vmap to drop or reject packets to services with no endpoints"),
    	})
    	tx.Add(&knftables.Map{
    		Name:    noEndpointNodePortsMap,
    		Type:    "inet_proto . inet_service : verdict",
    		Comment: ptr.To("vmap to drop or reject packets to service nodeports with no endpoints"),
    	})
    
    	tx.Add(&knftables.Chain{
    		Name:    rejectChain,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier.go

    		"-A", string(kubeForwardChain),
    		"-m", "comment", "--comment", `"kubernetes forwarding conntrack rule"`,
    		"-m", "conntrack",
    		"--ctstate", "RELATED,ESTABLISHED",
    		"-j", "ACCEPT",
    	)
    
    	// Add rule to accept traffic towards health check node port
    	proxier.filterRules.Write(
    		"-A", string(kubeNodePortChain),
    		"-m", "comment", "--comment", proxier.ipsetList[kubeHealthCheckNodePortSet].getComment(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    	}
    
    	if tableType.Type() != tblType {
    		t.Fatalf("expected table type to be %s but got %s", tblType, tableType.Type())
    	}
    
    	comment, ok := tableType.Comment()
    	if !ok || comment != tblComment {
    		t.Fatalf("expected comment %s got %s", tblComment, comment)
    	}
    }
    
    func TestMigrateWithUniqueIndexAndUnique(t *testing.T) {
    	const table = "unique_struct"
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    // For each line of the source files which should generate an error,
    // there should be a comment of the form // ERROR "regexp".
    // If outStr has an error for a line which has no such comment,
    // this function will report an error.
    // Likewise if outStr does not have an error for a line which has a comment,
    // or if the error message does not match the <regexp>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/parser.go

    					pos = MakePos(p.file, line+1, colbase)
    				} else {
    					// regular comment
    					// (if the comment spans multiple lines it's not
    					// a valid line directive and will be discarded
    					// by updateBase)
    					pos = MakePos(p.file, line, col+uint(len(msg)))
    				}
    				p.updateBase(pos, line, col+2+5, text[5:]) // +2 to skip over // or /*
    				return
    			}
    
    			// go: directive (but be conservative and test)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    	rx := regexp.MustCompile(`^/\*(\w*)=([\w:]*)\*/$`)
    	for _, group := range f.Comments {
    		for _, comment := range group.List {
    			// Parse the assertion in the comment.
    			m := rx.FindStringSubmatch(comment.Text)
    			if m == nil {
    				t.Errorf("%s: bad comment: %s",
    					fset.Position(comment.Pos()), comment.Text)
    				continue
    			}
    			name, want := m[1], m[2]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top