Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 635 for rfind (0.05 sec)

  1. buildscripts/verify-healing.sh

    	fi
    
    	for ((i = 0; i < 20; i++)); do
    		test -f ${WORK_DIR}/$1/1/.minio.sys/format.json
    		v1=$?
    		nextInES=$(($1 + 1)) && [ $nextInES -gt 3 ] && nextInES=1
    		foundFiles1=$(find ${WORK_DIR}/$1/1/ | grep -v .minio.sys | grep xl.meta | wc -l)
    		foundFiles2=$(find ${WORK_DIR}/$nextInES/1/ | grep -v .minio.sys | grep xl.meta | wc -l)
    		test $foundFiles1 -eq $foundFiles2
    		v2=$?
    		[ $v1 == 0 -a $v2 == 0 ] && return 0
    		sleep 10
    	done
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/index/suffixarray/suffixarray_test.go

    		},
    	},
    
    	{
    		"godoc simulation",
    		"package main\n\nimport(\n    \"rand\"\n    ",
    		[]string{},
    	},
    }
    
    // find all occurrences of s in source; report at most n occurrences
    func find(src, s string, n int) []int {
    	var res []int
    	if s != "" && n != 0 {
    		// find at most n occurrences of s in src
    		for i := -1; n < 0 || len(res) < n; {
    			j := strings.Index(src[i+1:], s)
    			if j < 0 {
    				break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirDestructuringDeclarationSymbol.kt

                    is KtParameter -> psi.destructuringDeclaration
                        ?: errorWithAttachment("Expected to find lambda ${KtParameter::class} with ${KtDestructuringDeclaration::class}") {
                            withPsiEntry("psi", psi)
                        }
                    else -> errorWithAttachment("Expected to find ${KtDestructuringDeclaration::class} or ${KtParameter::class} but ${psi?.let { it::class }} found") {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        auto to_iter = to.find(group);
        if (to_iter == to.end()) {
          ++groups_from_only;
        } else {
          auto to_branch = to_iter->second;
          if (to_branch == branch) {
            ++groups_same_branch;
          } else {
            ++groups_different_branch;
          }
        }
      }
      for (const auto& [group, _] : to) {
        auto from_iter = from.find(group);
        if (from_iter == from.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/ReflectionDemo.kt

            printReflection(result)
    
            val pluginsProp = schema.topLevelReceiverType.properties.find { it.name == "plugins" }
    
            val plugins = (result as DataObjectReflection).properties[pluginsProp]!!.value as DataObjectReflection
    
            val kotlinKaptPlugin = plugins.addedObjects
                .find {
                    val properties = (it as? DataObjectReflection)?.properties ?: error("unexpected object")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelCrossVersionSpec.groovy

                               classpath.entries.find { it.kind == "lib" }.entryAttributes['customkey'] = 'whenMerged'
                           }
                       }
                   }
                }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            def attributes = project.classpath[0].classpathAttributes
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/plugins/ApplyPluginBuildOperationIntegrationTest.groovy

                it.details.pluginClass.startsWith("Plugin")
            }
    
            ops.size() == 3
            ops.find { it.details.buildPath == ":" }.details.pluginClass == "PluginRoot"
            ops.find { it.details.buildPath == ":a" }.details.pluginClass == "PluginA"
            ops.find { it.details.buildPath == ":b" }.details.pluginClass == "PluginB"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:36 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/common/path_config.cc

      // Prefix, e.g. "third_party" given root_dir "third_party/tensorflow/...."
      std::vector<string> source_path_components =
          tensorflow::str_util::Split(source_dir, "/");
      auto source_tfroot_pos = std::find(source_path_components.begin(),
                                         source_path_components.end(), tf_root_dir);
      if (source_tfroot_pos != source_path_components.end()) {
        tf_prefix_dir =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. tests/scan_test.go

    	if uint(id) != user2.ID {
    		t.Errorf("Failed to scan to customized data type")
    	}
    
    	var resInt interface{}
    	resInt = &User{}
    	if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Find(&resInt).Error; err != nil {
    		t.Fatalf("Failed to query with pointer of value, got error %v", err)
    	} else if resInt.(*User).ID != user3.ID || resInt.(*User).Name != user3.Name || resInt.(*User).Age != user3.Age {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java

                if (classPath == null) {
                    Set<Class<?>> visited = new HashSet<>();
                    classPath = new LinkedHashSet<>();
                    find(targetClass, visited, classPath);
                    classPathCache.put(targetClass, classPath);
                }
                dest.addAll(classPath);
            } finally {
                lock.unlock();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top