Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for indexFor (0.14 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

        private static boolean hasPlugin(TestFile file, String pluginName) {
            file.exists() && file.text.indexOf(pluginName) != -1
        }
    
        private static boolean hasScript(TestFile file, String scriptName) {
            file.exists() && (file.text.indexOf("apply from: rootProject.file('$scriptName')") != -1 || file.text.indexOf("apply from: file('$scriptName')") != -1)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"type(self.val1) == string",
    				"size(self.val1) == 12",
    
    				// string functions (https://github.com/google/cel-go/blob/v0.9.0/ext/strings.go)
    				"self.val1.charAt(3) == 'k'",
    				"self.val1.indexOf('o') == 1",
    				"self.val1.indexOf('o', 2) == 2",
    				"self.val1.replace(' ', 'x') == 'Rookxtakesx👑'",
    				"self.val1.replace(' ', 'x', 1) == 'Rookxtakes 👑'",
    				"self.val1.split(' ') == ['Rook', 'takes', '👑']",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

         */
        public static String minus(String originalString, String removeString) {
            logDeprecation();
            String s = originalString.toString();
            int index = s.indexOf(removeString);
            if (index == -1) {
                return s;
            }
            int end = index + removeString.length();
            if (s.length() > end) {
                return s.substring(0, index) + s.substring(end);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

                }
                return arch;
            }
    
            protected String getOsPrefix() {
                String osPrefix = getName().toLowerCase(Locale.ROOT);
                int space = osPrefix.indexOf(" ");
                if (space != -1) {
                    osPrefix = osPrefix.substring(0, space);
                }
                return osPrefix;
            }
        }
    
        static class MacOs extends Unix {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. pkg/scheduler/scheduler_test.go

    						"nodeName": indexByPodAnnotationNodeName,
    					})
    					return &TestPlugin{name: "AddIndexer1"}, err
    				},
    			},
    			wantErr: "indexer conflict",
    		},
    		{
    			name: "register the same indexer body with different names, no conflicts",
    			// order of registration doesn't matter
    			entrypoints: map[string]frameworkruntime.PluginFactory{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/ProjectReportTask.java

            if (projectDescription != null && !projectDescription.isEmpty()) {
                String description = projectDescription.trim();
                int newlineInDescription = description.indexOf('\n');
                if (newlineInDescription > 0) {
                    textOutput.withStyle(Description).text(" - " + description.substring(0, newlineInDescription) + "...");
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go

    			typeVersionCombinations: []envTypeAndVersion{
    				{version.MajorMinor(1, 23), NewExpressions},
    				{version.MajorMinor(1, 23), StoredExpressions},
    			},
    			validExpressions: []string{
    				"[1, 2, 3].indexOf(2) == 1",      // lists
    				"'abc'.contains('bc')",           //strings
    				"isURL('http://example.com')",    // urls
    				"'a 1 b 2'.find('[0-9]') == '1'", // regex
    			},
    		},
    		{
    			name: "authz disabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            if (crawlerContext == null) {
                // wrong state
                return;
            }
    
            final int idx = url.indexOf('/', url.indexOf("://") + 3);
            String hostUrl;
            if (idx >= 0) {
                hostUrl = url.substring(0, idx);
            } else {
                hostUrl = url;
            }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 41K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      public List<String> order(List<String> insertionOrder) {
                        List<String> order = new ArrayList<>();
                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
                        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 25K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

                return [(GRADLE_ENCRYPTION_KEY_ENV_KEY): encryptionKeyAsBase64]
            }
            return [:]
        }
    
        private boolean isSubArray(byte[] contents, byte[] toFind) {
            Bytes.indexOf(contents, toFind) >= 0
        }
    
        private TestFile findRequiredKeystoreFile(boolean required = true) {
            def keyStoreDirFiles = keyStoreDir.allDescendants()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top