Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 1,299 for else (0.02 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                            multiValued = true;
                        }
                        classDoc.addClassBlock(new BlockDoc(methodDoc, property, type, multiValued));
                    } else {
                        classDoc.addClassMethod(methodDoc);
                        signatures.add(method.getOverrideSignature());
                    }
                }
            }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

                // We should always be using JUnitPlatform at this point, so don't call useJUnitPlatform(), else this will
                // discard existing options configuration and add a deprecation warning.  Just set the existing options.
                (this.testFramework.options as JUnitPlatformOptions).includeEngines("cross-version-test-engine")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Sep 05 02:31:24 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. cmd/erasure-encode.go

    			continue
    		}
    		var n int
    		n, p.errs[i] = p.writers[i].Write(blocks[i])
    		if p.errs[i] == nil {
    			if n != len(blocks[i]) {
    				p.errs[i] = io.ErrShortWrite
    				p.writers[i] = nil
    			}
    		} else {
    			p.writers[i] = nil
    		}
    	}
    
    	// If nilCount >= p.writeQuorum, we return nil. This is because HealFile() uses
    	// CreateFile with p.writeQuorum=1 to accommodate healing of single disk.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 15 00:11:04 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  4. cmd/xl-storage_windows_test.go

    	for i, test := range testCases {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			err = fs.AppendFile(context.Background(), "voldir", test.objName, []byte("hello"))
    			if err != nil && test.pass {
    				t.Error(err)
    			} else if err == nil && !test.pass {
    				t.Error(err)
    			}
    			fs.Delete(context.Background(), "voldir", test.objName, DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    		})
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  5. cmd/data-scanner.go

    	// Load current bloom cycle
    	var cycleInfo currentScannerCycle
    
    	buf, _ := readConfig(ctx, objAPI, dataUsageBloomNamePath)
    	if len(buf) == 8 {
    		cycleInfo.next = binary.LittleEndian.Uint64(buf)
    	} else if len(buf) > 8 {
    		cycleInfo.next = binary.LittleEndian.Uint64(buf[:8])
    		buf = buf[8:]
    		_, err := cycleInfo.UnmarshalMsg(buf)
    		bugLogIf(ctx, err)
    	}
    
    	scannerTimer := time.NewTimer(scannerCycle.Load())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  6. tests/delete_test.go

    		t.Errorf("No error should happen when delete a record")
    	} else if err := DB.Where("name = ?", user1.Name).First(&User{}).Error; !errors.Is(err, gorm.ErrRecordNotFound) {
    		t.Errorf("User can't be found after delete")
    	}
    
    	if err := DB.Delete(&User{}, "name = ?", user2.Name).Error; err != nil {
    		t.Errorf("No error should happen when delete a record, err=%s", err)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/arch/loong64.go

    		a.Reg += ((arng_type & loong64.EXT_TYPE_MASK) << loong64.EXT_TYPE_SHIFT)
    		a.Reg += ((simd_type & loong64.EXT_SIMDTYPE_MASK) << loong64.EXT_SIMDTYPE_SHIFT)
    		a.Index = num
    	} else {
    		switch simd_type {
    		case loong64.LSX:
    			arng_type, ok = loong64LsxArngExtMap[ext]
    			if !ok {
    				return errors.New("Loong64 extension: invalid LSX arrangement type: " + ext)
    			}
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 17:31:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

            if (classesFilter != null) {
                val nameWithoutExtension = Files.getNameWithoutExtension(fileName)
                minify(artifact.get().asFile, classesFilter, outputs.file("$nameWithoutExtension-min.jar"))
            } else {
                outputs.file(artifact)
            }
        }
    
        private
        fun extractArtifactName(fileName: String): String {
            return jarArtifactRegex.matchEntire(fileName)
                ?.groupValues
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 11:46:45 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. cmd/background-newdisks-heal-ops_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "QueuedBuckets")
    				return
    			}
    			if cap(z.QueuedBuckets) >= int(zb0002) {
    				z.QueuedBuckets = (z.QueuedBuckets)[:zb0002]
    			} else {
    				z.QueuedBuckets = make([]string, zb0002)
    			}
    			for za0001 := range z.QueuedBuckets {
    				z.QueuedBuckets[za0001], err = dc.ReadString()
    				if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 24.6K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

        private final RepositoryCache cache;
    
        public static ModelCache newInstance(RepositorySystemSession session) {
            if (session.getCache() == null) {
                return null;
            } else {
                return new DefaultModelCache(session);
            }
        }
    
        private DefaultModelCache(RepositorySystemSession session) {
            this.session = session;
            this.cache = session.getCache();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top