Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 442 for findBy (0.17 sec)

  1. tests/preload_test.go

    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find2, value2)
    
    	var finds []Value
    	err = DB.Joins("Nested.Join").Joins("Nested").Preload("Nested.Preloads").Find(&finds).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, len(finds), 2)
    	AssertEqual(t, finds[0], value1)
    	AssertEqual(t, finds[1], value2)
    }
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/utils/utils.kt

        for (finder in PsiElementFinder.EP.getPoint(project).extensionList) {
            if (finder::class.java.name == KOTLIN_JAVA_ELEMENT_FINDER_CLASS_NAME) {
                continue
            }
            action(finder)
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 798 bytes
    - Viewed (0)
  3. src/runtime/mpallocbits.go

    func (b *pallocBits) find(npages uintptr, searchIdx uint) (uint, uint) {
    	if npages == 1 {
    		addr := b.find1(searchIdx)
    		return addr, addr
    	} else if npages <= 64 {
    		return b.findSmallN(npages, searchIdx)
    	}
    	return b.findLargeN(npages, searchIdx)
    }
    
    // find1 is a helper for find which searches for a single free page
    // in the pallocBits and returns the index.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        }
    
        @Override
        public Optional<Lifecycle> lookup(String id) {
            return stream().filter(lf -> Objects.equals(id, lf.id())).findAny();
        }
    
        @Named
        @Singleton
        public static class LifecycleWrapperProvider implements LifecycleProvider {
            private final PlexusContainer container;
    
            @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    // license that can be found in the LICENSE file.
    
    // Regression test for #55160.
    //
    // The issue is that the parser reads ahead to the first batch of the
    // next generation to find generation boundaries, but if it finds an
    // error, it needs to delay handling that error until later. Previously
    // it would handle that error immediately and a totally valid generation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. cni/pkg/repair/netns.go

    			// Unexpected... we will use it, but only if we find nothing without errors
    			log.Warnf("failed to read proc %v stats: %v", p.PID, err)
    			if best == "" {
    				best = ns
    			}
    			continue
    		}
    		// Get the oldest one.
    		if s.Starttime < oldest {
    			oldest = s.Starttime
    			best = ns
    		}
    	}
    	if best == "" {
    		return "", fmt.Errorf("failed to find network namespace")
    	}
    	return best, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerSpec.groovy

            compile.incoming.path == ":compile"
            compile instanceof DefaultConfiguration
    
            and:
            configurationContainer.getByName("compile") == compile
    
            //finds configurations
            configurationContainer.findByName("compile") == compile
            configurationContainer.findByName("foo") == null
            configurationContainer.findAll { it.name == "compile" } as Set == [compile] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/runtime/traceback_system_test.go

    // this value as observed by calls in two different processes of the
    // same executable tells us the relative offset of their text segments.
    //
    // It would be nice if SetCrashOutput took care of this as it's fiddly
    // and likely to confuse every user at first.
    func sentinel() uint64 {
    	return uint64(reflect.ValueOf(sentinel).Pointer())
    }
    
    func writeSentinel(out io.Writer) {
    	fmt.Fprintf(out, "sentinel %x\n", sentinel())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/packages/KotlinPackageProviderBase.kt

                val fqNameString = packageFqName.asString()
                buildSet {
                    forEachNonKotlinPsiElementFinder(project) { finder ->
                        val psiPackage = finder.findPackage(fqNameString) ?: return@forEachNonKotlinPsiElementFinder
                        for (subPackage in finder.getSubPackages(psiPackage, searchScope)) {
                            val name = subPackage.name?.let(Name::identifierIfValid) ?: continue
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/go/doc/example.go

    		if fl != nil {
    			for _, f := range fl.List {
    				ast.Inspect(f.Type, inspectFunc)
    			}
    		}
    	}
    
    	// Find the decls immediately referenced by body.
    	ast.Inspect(body, inspectFunc)
    	// Now loop over them, adding to the list when we find a new decl that the
    	// body depends on. Keep going until we don't find anything new.
    	for i := 0; i < len(depDecls); i++ {
    		switch d := depDecls[i].(type) {
    		case *ast.FuncDecl:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top