Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1131 - 1140 of 3,004 for IF (0.03 seconds)

  1. cmd/is-dir-empty_linux.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. docs/resiliency/resiliency-initial-script.sh

    	COUNT=$((RANDOM % 100 + 100))
    	# generate random content
    	dd if=/dev/urandom bs=50K count="${COUNT}" of="${SRC_DIR}"/file"$idx"
    done
    
    # create small object that will be inlined into xl.meta
    dd if=/dev/urandom bs=50K count=1 of="${INLINED_DIR}"/inlined
    
    if ./mc cp --quiet --recursive "${SRC_DIR}/" "${ALIAS_NAME}"/"${BUCKET}"/initial-data/; then
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. docs/debugging/inspect/utils.go

    	if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
    		return x509.ParsePKCS1PrivateKey(dst[:n])
    	}
    	// Try Raw, return error
    	return x509.ParsePKCS1PrivateKey(priv)
    }
    
    func fatalErr(err error) {
    	if err == nil {
    		return
    	}
    	log.Fatalln(err)
    }
    
    func fatalIf(b bool, msg string, v ...interface{}) {
    	if !b {
    		return
    	}
    	log.Fatalf(msg, v...)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Nov 02 20:36:38 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Writer.java

         * @param tagName a tagName object.
         * @throws IOException IOException if any.
         */
        private void writeCoreExtension(CoreExtension coreExtension, String tagName, XmlSerializer serializer)
                throws IOException {
            serializer.startTag(NAMESPACE, tagName);
            if (coreExtension.getGroupId() != null) {
                serializer
                        .startTag(NAMESPACE, "groupId")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  5. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        }
    
        private static String[] determinePsCommand() {
            if (isWindows()) {
                return new String[]{"powershell", "-Command", "\"Get-CimInstance Win32_Process | ForEach-Object { \\\"$($_.CommandLine) $($_.ProcessId)\\\" }\""};
            } else if (isMacOS()) {
                return new String[]{"ps", "x", "-o", "pid,command"};
            } else if (isAlpine()) {
                return new String[]{"ps", "x", "-o", "pid,args"};
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. schema/constraint.go

    	checks := map[string]CheckConstraint{}
    	for _, field := range schema.FieldsByDBName {
    		if chk := field.TagSettings["CHECK"]; chk != "" {
    			names := strings.Split(chk, ",")
    			if len(names) > 1 && regEnLetterAndMidline.MatchString(names[0]) {
    				checks[names[0]] = CheckConstraint{Name: names[0], Constraint: strings.Join(names[1:], ","), Field: field}
    			} else {
    				if names[0] == "" {
    					chk = strings.Join(names[1:], ",")
    				}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Mar 18 07:33:54 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java

                @Override
                public void execute(ClassMetaData classMetaData) {
                    if (classMetaData.getOuterClassName() != null) {
                        // Ignore inner classes
                        return;
                    }
                    String packageName = classMetaData.getPackageName();
                    if (excludedPackages.contains(packageName)) {
                        return;
                    }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.4K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE.md

    <!--- Provide a general summary of the issue in the Title above -->
    
    ## Expected Behavior
    <!--- If you're describing a bug, tell us what should happen -->
    <!--- If you're suggesting a change/improvement, tell us how it should work -->
    
    ## Current Behavior
    <!--- If describing a bug, tell us what happens instead of the expected behavior -->
    <!--- If suggesting a change/improvement, explain the difference from current behavior -->
    
    ## Possible Solution
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jan 29 00:04:16 GMT 2022
    - 2K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

            boolean inPara = false;
            if (node instanceof Element) {
                Element element = (Element) node;
                if (element.getTagName().equals("para") && stack.getFirst().getTagName().equals("para")) {
                    pop();
                    inPara = true;
                }
            }
            stack.getFirst().appendChild(node);
            if (inPara) {
                Element para = document.createElement("para");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

            if (node == null || !visited.add(node)) {
                return;
            }
    
            Class<?> clazz = node.getClass();
            while (clazz != null && !clazz.equals(Object.class)) {
                for (Field field : clazz.getDeclaredFields()) {
                    // Skip static fields and synthetic fields
                    if (Modifier.isStatic(field.getModifiers()) || field.isSynthetic()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top