Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,953 for shmorp (0.12 sec)

  1. src/io/ioutil/ioutil_test.go

    	if err != nil {
    		t.Fatalf("TempDir %s: %v", t.Name(), err)
    	}
    	defer os.RemoveAll(tempDir)
    	filename := filepath.Join(tempDir, "blurp.txt")
    
    	shmorp := []byte("shmorp")
    	florp := []byte("florp")
    	err = WriteFile(filename, shmorp, 0444)
    	if err != nil {
    		t.Fatalf("WriteFile %s: %v", filename, err)
    	}
    	err = WriteFile(filename, florp, 0444)
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/os/read_test.go

    	tempDir, err := MkdirTemp("", t.Name())
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer RemoveAll(tempDir)
    	filename := filepath.Join(tempDir, "blurp.txt")
    
    	shmorp := []byte("shmorp")
    	florp := []byte("florp")
    	err = WriteFile(filename, shmorp, 0444)
    	if err != nil {
    		t.Fatalf("WriteFile %s: %v", filename, err)
    	}
    	err = WriteFile(filename, florp, 0444)
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 02:36:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. cluster/gce/windows/testonly/user-profile.psm1

            # Param1 help description
            [Parameter(Mandatory=$true,
                       ValueFromPipelineByPropertyName=$true,
                       Position=0)]
            [string]$UserName,
            [string]$domain = 'PHCORP'
        )
        $methodname = 'UserEnvCP2'
        $script:nativeMethods = @();
        
        if (-not ([System.Management.Automation.PSTypeName]$methodname).Type)
        {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:44:57 UTC 2019
    - 9.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          Short[] suffix = {(short) 86, (short) 99};
          Short[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Short[] concat(Short[] left, Short[] right) {
        Short[] result = new Short[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ShortsTest.java

                    },
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(1);
        assertThat(
                Shorts.indexOf(
                    new short[] {(short) 4, (short) 3, (short) 2},
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Short}
         */
        public static Short toShort(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

                    },
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(1);
        assertThat(
                Shorts.indexOf(
                    new short[] {(short) 4, (short) 3, (short) 2},
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Shorts.java

       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
        return (short) value;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Shorts.java

       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
        return (short) value;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_deprecate_message.txt

    -- go.mod --
    module use
    
    go 1.16
    
    require (
    	short v0.0.0
    	multiline v0.0.0
    	long v0.0.0
    	unprintable v0.0.0
    )
    
    replace (
    	short v0.0.0 => ./short
    	multiline v0.0.0 => ./multiline
    	long v0.0.0 => ./long
    	unprintable v0.0.0 => ./unprintable
    )
    -- short/go.mod --
    // Deprecated: short
    module short
    
    go 1.16
    -- short/short.go --
    package short
    -- multiline/go.mod --
    // Deprecated: first line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top