Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for isNice (0.31 sec)

  1. tests/test_application.py

                                "schema": IsDict(
                                    {
                                        "anyOf": [{"type": "string"}, {"type": "null"}],
                                        "title": "Item Id",
                                    }
                                )
                                # TODO: remove when deprecating Pydantic v1
                                | IsDict({"title": "Item Id", "type": "string"}),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  2. src/fmt/fmt_test.go

    }
    
    func TestSlicePrinter(t *testing.T) {
    	slice := []int{}
    	s := Sprint(slice)
    	if s != "[]" {
    		t.Errorf("empty slice printed as %q not %q", s, "[]")
    	}
    	slice = []int{1, 2, 3}
    	s = Sprint(slice)
    	if s != "[1 2 3]" {
    		t.Errorf("slice: got %q expected %q", s, "[1 2 3]")
    	}
    	s = Sprint(&slice)
    	if s != "&[1 2 3]" {
    		t.Errorf("&slice: got %q expected %q", s, "&[1 2 3]")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  3. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            List<CoreExtension> extensions = new ArrayList<>();
            if (extensionsFile.isFile()) {
                extensions.addAll(readCoreExtensionsDescriptor(extensionsFile));
            }
            if (userHomeExtensionsFile.isFile()) {
                extensions.addAll(readCoreExtensionsDescriptor(userHomeExtensionsFile));
            }
    
            if (extensions.isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  4. src/go/build/build.go

    	}
    
    	f, err := os.Open(path)
    	if err != nil {
    		return nil, err // nil interface
    	}
    	return f, nil
    }
    
    // isFile determines whether path is a file by trying to open it.
    // It reuses openFile instead of adding another function to the
    // list in Context.
    func (ctxt *Context) isFile(path string) bool {
    	f, err := ctxt.openFile(path)
    	if err != nil {
    		return false
    	}
    	f.Close()
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. src/reflect/type.go

    		slice := (*sliceType)(unsafe.Pointer(tt))
    		if slice.Elem == typ {
    			ti, _ := lookupCache.LoadOrStore(ckey, toRType(tt))
    			return ti.(Type)
    		}
    	}
    
    	// Make a slice type.
    	var islice any = ([]unsafe.Pointer)(nil)
    	prototype := *(**sliceType)(unsafe.Pointer(&islice))
    	slice := *prototype
    	slice.TFlag = 0
    	slice.Str = resolveReflectName(newName(s, "", false, false))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  6. src/cmd/dist/build.go

    	if b == "" {
    		b = "power8"
    	}
    	goppc64 = b
    
    	b = os.Getenv("GORISCV64")
    	if b == "" {
    		b = "rva20u64"
    	}
    	goriscv64 = b
    
    	if p := pathf("%s/src/all.bash", goroot); !isfile(p) {
    		fatalf("$GOROOT is not set correctly or not exported\n"+
    			"\tGOROOT=%s\n"+
    			"\t%s does not exist", goroot, p)
    	}
    
    	b = os.Getenv("GOHOSTARCH")
    	if b != "" {
    		gohostarch = b
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. configure.py

                                                          ask_python_bin_path,
                                                          default_python_bin_path)
        # Check if the path is valid
        if os.path.isfile(python_bin_path) and os.access(python_bin_path, os.X_OK):
          break
        elif not os.path.exists(python_bin_path):
          print('Invalid python path: {} cannot be found.'.format(python_bin_path))
        else:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    	startOffset := uint8(0xff) // smallest offset that needs liveness info (slots with a lower offset is always live)
    	if liveInfo != nil {
    		startOffset = *(*uint8)(liveInfo)
    	}
    
    	isLive := func(off, slotIdx uint8) bool {
    		if liveInfo == nil || liveIdx <= 0 {
    			return true // no liveness info, always live
    		}
    		if off < startOffset {
    			return true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            if (dir.isDirectory()) {
                String[] settingsFileNames = ScriptFileUtil.getValidSettingsFileNames();
                for (String settingsFileName : settingsFileNames) {
                    if (dir.file(settingsFileName).isFile()) {
                        return true;
                    }
                }
            }
            return false;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                                d.getManagementKey(),
                                "must specify an absolute path but is " + systemPath,
                                d);
                    } else if (!sysFile.isFile()) {
                        String msg = "refers to a non-existing file " + sysFile.getAbsolutePath();
                        systemPath = systemPath.replace('/', File.separatorChar).replace('\\', File.separatorChar);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top