Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for panStart (0.1 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        rescale(currentScale * (e.deltaY < 0 ? 1.1 : (1/1.1)),
                toSvg(e.offsetX, e.offsetY));
      }
    
      function setMode(m) {
        mode = m;
        touchid = null;
        touchid2 = null;
      }
    
      function panStart(x, y) {
        moved = false;
        panLastX = x;
        panLastY = y;
      }
    
      function panMove(x, y) {
        let dx = x - panLastX;
        let dy = y - panLastY;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StringsTest.java

      public void testPadStart_noPadding() {
        assertSame("", Strings.padStart("", 0, '-'));
        assertSame("x", Strings.padStart("x", 0, '-'));
        assertSame("x", Strings.padStart("x", 1, '-'));
        assertSame("xx", Strings.padStart("xx", 0, '-'));
        assertSame("xx", Strings.padStart("xx", 2, '-'));
      }
    
      public void testPadStart_somePadding() {
        assertEquals("-", Strings.padStart("", 1, '-'));
        assertEquals("--", Strings.padStart("", 2, '-'));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:47:03 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Strings.java

       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 09 00:49:18 UTC 2021
    - 12.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    		// are present in the user specified expression.
    		var pinStart, pinEnd bool
    		for _, prefix := range []string{"^", "//"} {
    			if strings.Contains(regexpStr, prefix) {
    				pinStart = true
    				break
    			}
    		}
    		for _, suffix := range []string{"$", ":"} {
    			if strings.Contains(regexpStr, suffix) {
    				pinEnd = true
    				break
    			}
    		}
    		if !pinStart || !pinEnd {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelTypeInitializationException.java

                    s.append(String.format("%n    %s- %s", padding, modelType.getName()));
                }
            }
        }
    
        private static String pad(int padding) {
            return Strings.padStart("", padding * 4, ' ');
        }
    
        private static boolean isScalarCollection(ModelType<?> propertyType, boolean declaredAsHavingUnmanagedType) {
            Class<?> concreteClass = propertyType.getConcreteClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. pkg/kubelet/pod_workers.go

    		return ctx, update, canStart, canEverStart, true
    	case !canStart:
    		// this is the only path we don't start the pod, so we need to put the change back in pendingUpdate
    		status.pendingUpdate = &update.Options
    		status.working = false
    		klog.V(4).InfoS("Pod cannot start yet", "pod", klog.KObj(update.Options.Pod), "podUID", podUID)
    		return ctx, update, canStart, canEverStart, true
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt

                    separator = "\n$columnIndent  $indent"
                )
        }
    
        private
        fun lineNumber(location: CompilerMessageSourceLocation) =
            location.line.toString().padStart(maxLineNumberStringLength, '0')
    
        private
        fun prependIndent(it: String) = it.prependIndent(indent)
    
        private
        val errorPlural
            get() = if (errors.size > 1) "errors" else "error"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 31 08:46:17 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top