Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 706 for IsSubstring (0.23 sec)

  1. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/buildSrc/src/main/java/org/gradle/sample/transform/javamodules/ExtraModuleInfoPlugin.java

            }
            return configuration.getName().endsWith(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME.substring(1))
                    || configuration.getName().endsWith(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME.substring(1))
                    || configuration.getName().endsWith(JavaPlugin.ANNOTATION_PROCESSOR_CONFIGURATION_NAME.substring(1));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. internal/s3select/sql/analysis.go

    		result.combine(e.Substring.Expr.analyze(s))
    		switch {
    		case e.Substring.From != nil:
    			result.combine(e.Substring.From.analyze(s))
    			if e.Substring.For != nil {
    				result.combine(e.Substring.Expr.analyze(s))
    			}
    		case e.Substring.Arg2 != nil:
    			result.combine(e.Substring.Arg2.analyze(s))
    			if e.Substring.Arg3 != nil {
    				result.combine(e.Substring.Arg3.analyze(s))
    			}
    		default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy

        }
    
        def "replaces a method that has already been seen with an integer ID"() {
            def method1 = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE)
            def method2 = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE)
            def invocation1 = new MethodInvocation(method1, [1, 2] as Object[])
            def invocation2 = new MethodInvocation(method2, [3, 4] as Object[])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            final boolean result;
            if (test.startsWith(REGEX_PREFIX)) {
                result = actualVersion.matches(test.substring(REGEX_PREFIX.length()));
            } else {
                if (test.startsWith("!")) {
                    reverse = true;
                    test = test.substring(1);
                }
                result = actualVersion.equalsIgnoreCase(test);
            }
    
            return reverse != result;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 05 14:16:41 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            final boolean result;
            if (test.startsWith(REGEX_PREFIX)) {
                result = actualVersion.matches(test.substring(REGEX_PREFIX.length()));
            } else {
                if (test.startsWith("!")) {
                    reverse = true;
                    test = test.substring(1);
                }
                result = actualVersion.equals(test);
            }
    
            return reverse != result;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/utilities/SplitUtils.scala.template

                var token = source.substring(lastFind)
                if (currentFind != -1) {
                    token = token.substring(0, currentFind - lastFind)
                }
    
                addIfValid(token, result)
                lastFind = currentFind + 1
                currentFind = source.indexOf(" ", lastFind)
            }
    
            val token = source.substring(lastFind)
            addIfValid(token, result)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 982 bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/model/TaskNameComparator.java

            if (colon1 > 0 && colon2 > 0) {
                int diff = taskName1.substring(0, colon1).compareTo(taskName2.substring(0, colon2));
                if (diff != 0) {
                    return diff;
                }
            }
            return colon1 == -1 ? taskName1.compareTo(taskName2) : compareSegments(taskName1.substring(colon1 + 1), taskName2.substring(colon2 + 1));
        }
    
        private int getDepth(String taskName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/templates/java-utilities-library/src/main/java/org/gradle/sample/utilities/SplitUtils.java

                String token = source.substring(lastFind);
                if (currentFind != -1) {
                    token = token.substring(0, currentFind - lastFind);
                }
    
                addIfValid(token, result);
                lastFind = currentFind + 1;
            }
    
            String token = source.substring(lastFind);
            addIfValid(token, result);
    
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 952 bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        private boolean determineVersionMatch(String version) {
            String test = version;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_VERSION.equals(test);
    
            if (reverse) {
                return !result;
            } else {
                return result;
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:01:36 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/ParseRequest.java

        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
          radix = 16;
        } else if (firstChar == '#') {
          rawValue = stringValue.substring(1);
          radix = 16;
        } else if (firstChar == '0' && stringValue.length() > 1) {
          rawValue = stringValue.substring(1);
          radix = 8;
        } else {
          rawValue = stringValue;
          radix = 10;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top