Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 133 for nonexistent1 (0.15 sec)

  1. src/os/os_test.go

    	}
    	if _, err := rdfs.ReadDir("nonexistent"); err == nil {
    		t.Error("fs.ReadDir of nonexistent directory succeeded")
    	}
    
    	// Test that the error message does not contain a backslash,
    	// and does not contain the DirFS argument.
    	const nonesuch = "dir/nonesuch"
    	_, err := fsys.Open(nonesuch)
    	if err == nil {
    		t.Error("fs.Open of nonexistent file succeeded")
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. src/debug/dwarf/type.go

    type BoolType struct {
    	BasicType
    }
    
    // An AddrType represents a machine address type.
    type AddrType struct {
    	BasicType
    }
    
    // An UnspecifiedType represents an implicit, unknown, ambiguous or nonexistent type.
    type UnspecifiedType struct {
    	BasicType
    }
    
    // qualifiers
    
    // A QualType represents a type that has the C/C++ "const", "restrict", or "volatile" qualifier.
    type QualType struct {
    	CommonType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  3. hack/lib/golang.sh

    }
    EOF
    }
    
    # Argument: the name of a Kubernetes package (e.g. k8s.io/kubernetes/cmd/kube-scheduler).
    # Deletes a test generated by kube::golang::create_coverage_dummy_test.
    # It is not an error to call this for a nonexistent test.
    kube::golang::delete_coverage_dummy_test() {
      local package="$1"
      rm -f "$(kube::golang::path_for_coverage_dummy_test "${package}")"
    }
    
    # Arguments: a list of kubernetes packages to build.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. pkg/volume/util/atomic_writer_test.go

    		t.Fatalf("unexpected error ensuring dir %v does not exist: %v", nonExistentDir, err)
    	}
    
    	_, err = NewAtomicWriter(nonExistentDir, "-test-")
    	if err == nil {
    		t.Fatalf("unexpected success creating writer for nonexistent target dir: %v", err)
    	}
    }
    
    func TestValidatePath(t *testing.T) {
    	maxPath := strings.Repeat("a", maxPathLength+1)
    	maxFile := strings.Repeat("a", maxFileNameLength+1)
    
    	cases := []struct {
    		name  string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AlignmentIntegrationTest.groovy

                    }
                }
            }
    
        }
    
        /**
         * This test is a variant of the previous one where there's an additional catch: one
         * of the modules (annotations) is supposedly nonexistent in 2.7.9 (say, it appeared in 2.9.x)
         */
        def "can align heterogeneous versions with new modules appearing in later releases"() {
            repository {
                path 'databind:2.7.9 -> core:2.7.9'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 59.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/codehost/git.go

    				}
    			}
    
    			// If the remote URL doesn't exist at all, ideally we should treat the whole
    			// repository as nonexistent by wrapping the error in a notExistError.
    			// For HTTP and HTTPS, that's easy to detect: we'll try to fetch the URL
    			// ourselves and see what code it serves.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/query.go

    // A replacementRepo augments a versionRepo to include the replacement versions
    // (if any) found in the main module's go.mod file.
    //
    // A replacementRepo suppresses "not found" errors for otherwise-nonexistent
    // modules, so a replacementRepo should only be constructed for a module that
    // actually has one or more valid replacements.
    type replacementRepo struct {
    	repo versionRepo
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

        value: a
    `),
    			TwoWay: []byte(`
    mergingList:
      - value: b
    `),
    			ExpectedError: "does not contain declared merge key",
    		},
    	},
    	{
    		Description: "$deleteFromPrimitiveList of nonexistent item in primitive list should not add the item to the list",
    		StrategicMergePatchRawTestCaseData: StrategicMergePatchRawTestCaseData{
    			Original: []byte(`
    mergingIntList:
      - 1
      - 2
    `),
    			TwoWay: []byte(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  9. plugin/pkg/admission/noderestriction/admission_test.go

    			err:        "not bound to a pod",
    		},
    		{
    			name:       "forbid create of token bound to nonexistant pod",
    			podsGetter: noExistingPods,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  10. src/go/build/build.go

    	if go111Module == "auto" {
    		var (
    			parent string
    			err    error
    		)
    		if ctxt.Dir == "" {
    			parent, err = os.Getwd()
    			if err != nil {
    				// A nonexistent working directory can't be in a module.
    				return errNoModules
    			}
    		} else {
    			parent, err = filepath.Abs(ctxt.Dir)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
Back to top