Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for UNTAGGED (0.11 sec)

  1. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    				Foobar: bar{
    					Float1: 5.0,
    				},
    			},
    			expected: url.Values{"str": {"don't ignore embedded struct"}, "float1": {"5"}, "float2": {"0"}},
    		},
    		{
    			// Ignore untagged fields
    			input: &bar{
    				Float1:   23.5,
    				Float2:   100.7,
    				Int1:     1,
    				Int2:     2,
    				Int3:     3,
    				Ignored:  1,
    				Ignored2: "ignored",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    		// XMLName defines the XML element name of the struct being
    		// checked. That name cannot collide with element or attribute
    		// names defined on other fields of the struct. Vet does not have a
    		// check for untagged fields of type struct defining their own name
    		// by containing a field named XMLName; see issue 18256.
    		return
    	}
    	if i := strings.Index(val, ","); i >= 0 {
    		if key == "xml" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/module/pseudo.go

    // including prereleases. However, not all authors tag versions at all,
    // and not all commits a user might want to try will have tags.
    // A pseudo-version is a version with a special form that allows us to
    // address an untagged commit and order that version with respect to
    // other versions we might encounter.
    //
    // A pseudo-version takes one of the general forms:
    //
    //	(1) vX.0.0-yyyymmddhhmmss-abcdef123456
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/encoding/asn1/asn1_test.go

    			t.Errorf("#%d: unexpected result parsing %x: %s", i, test.derBytes, err)
    		}
    
    		// An untagged RawValue should accept anything.
    		var untagged untaggedRawValue
    		if _, err := Unmarshal(test.derBytes, &untagged); err != nil {
    			t.Errorf("#%d: unexpected failure parsing %x with untagged RawValue: %s", i, test.derBytes, err)
    		}
    	}
    }
    
    var bmpStringTests = []struct {
    	decoded    string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
  5. build/common.sh

        kube::build::docker_delete_old_containers "${KUBE_DATA_CONTAINER_NAME_BASE}"
        kube::build::docker_delete_old_images "${KUBE_BUILD_IMAGE_REPO}" "${KUBE_BUILD_IMAGE_TAG_BASE}"
    
        V=2 kube::log::status "Cleaning all untagged docker images"
        "${DOCKER[@]}" rmi "$("${DOCKER[@]}" images -q --filter 'dangling=true')" 2> /dev/null || true
      fi
    
      if [[ -d "${LOCAL_OUTPUT_ROOT}" ]]; then
        kube::log::status "Removing _output directory"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. src/encoding/json/encode_test.go

    	XXX string `json:"S"`
    }
    
    // BugD's tagged S field should dominate BugA's.
    type BugY struct {
    	BugA
    	BugD
    }
    
    // Test that a field with a tag dominates untagged fields.
    func TestTaggedFieldDominates(t *testing.T) {
    	v := BugY{
    		BugA{"BugA"},
    		BugD{"BugD"},
    	}
    	b, err := Marshal(v)
    	if err != nil {
    		t.Fatal("Marshal error:", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_test.go

    		// level selected by the usual Go rules), the following extra rules apply:
    
    		// 1) Of those fields, if any are JSON-tagged, only tagged fields are considered,
    		//    even if there are multiple untagged fields that would otherwise conflict.
    		{
    			name: "only tagged field is considered if any are tagged",
    			in: &testEncodableTagMatchesUntaggedName{
    				A:       1,
    				TaggedA: 2,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. src/encoding/json/encode.go

    // usual Go rules), the following extra rules apply:
    //
    // 1) Of those fields, if any are JSON-tagged, only tagged fields are considered,
    // even if there are multiple untagged fields that would otherwise conflict.
    //
    // 2) If there is exactly one field (tagged or not according to the first rule), that is selected.
    //
    // 3) Otherwise there are multiple fields, and all are ignored; no error occurs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/coderepo.go

    // expensive: in order to do so, r.code.DescendsFrom will need to fetch at least
    // enough of the commit history to find a path between version and its base.
    // Fortunately, many pseudo-versions — such as those for untagged repositories —
    // have trivial bases!
    func (r *codeRepo) validatePseudoVersion(ctx context.Context, info *codehost.RevInfo, version string) (err error) {
    	defer func() {
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/query.go

    			// Don't allow "upgrade" or "patch" to move from a pseudo-version
    			// to a chronologically older version or pseudo-version.
    			//
    			// If the current version is a pseudo-version from an untagged branch, it
    			// may be semantically lower than the "latest" release or the latest
    			// pseudo-version on the main branch. A user on such a version is unlikely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
Back to top