Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for s_final (0.14 sec)

  1. src/slices/slices.go

    // This algorithm has the desirable property that it moves each element at most twice.
    // The follow-cycles algorithm can be 1-write but it is not very cache friendly.
    
    // rotateLeft rotates s left by r spaces.
    // s_final[i] = s_orig[i+r], wrapping around.
    func rotateLeft[E any](s []E, r int) {
    	Reverse(s[:r])
    	Reverse(s[r:])
    	Reverse(s)
    }
    func rotateRight[E any](s []E, r int) {
    	rotateLeft(s, len(s)-r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/runtime/mfinal.go

    Anuraag Agrawal <******@****.***> 1717647866 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ModifierUtil.java

        /**
         * <code>final</code>かどうか返します。
         *
         * @param modifier
         *            モディファイヤ
         * @return <code>final</code>なら{@literal true}
         */
        public static boolean isFinal(final int modifier) {
            return Modifier.isFinal(modifier);
        }
    
        /**
         * <code>final</code>かどうか返します。
         *
         * @param method
         *            メソッド
         * @return <code>final</code>なら{@literal true}
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. test/mallocfin.go

    type B struct {
    	n int
    }
    
    var i int
    var nfinal int
    var final [N]int
    
    // the unused return is to test finalizers with return values
    func finalA(a *A) (unused [N]int) {
    	if final[a.n] != 0 {
    		println("finalA", a.n, final[a.n])
    		panic("fail")
    	}
    	final[a.n] = 1
    	return
    }
    
    func finalB(b *B) {
    	if final[b.n] != 1 {
    		println("finalB", b.n, final[b.n])
    		panic("fail")
    	}
    	final[b.n] = 2
    	nfinal++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 07:47:26 UTC 2012
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/crypto/CachedCipher.java

            return encrypted;
        }
    
        public byte[] encrypto(final byte[] data, final Key key) {
            final Cipher cipher = pollEncryptoCipher(key);
            byte[] encrypted;
            try {
                encrypted = cipher.doFinal(data);
            } catch (final IllegalBlockSizeException e) {
                throw new IllegalBlockSizeRuntimeException(e);
            } catch (final BadPaddingException e) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.isFinal(), is(not(true)));
            assertThat(foo.isAbstract(), is(not(true)));
            assertThat(foo.invoke(new MyBean()), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = MethodNotStaticRuntimeException.class)
        public void testFoo_InvokeStatic() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    public class MacHashFunctionTest extends TestCase {
    
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      private static final SecretKey MD5_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5");
      private static final SecretKey SHA1_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1");
      private static final SecretKey SHA256_KEY =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

       * {@code final} keyword. For example, it could be private, or it could be declared by a final
       * class. To tell whether a method is overridable, use {@link Invokable#isOverridable}.
       */
      public final boolean isFinal() {
        return Modifier.isFinal(getModifiers());
      }
    
      /** Returns true if the method is abstract. */
      public final boolean isAbstract() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    public class MacHashFunctionTest extends TestCase {
    
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      private static final SecretKey MD5_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5");
      private static final SecretKey SHA1_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1");
      private static final SecretKey SHA256_KEY =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            aaa.getStaticFieldValue();
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
        public void testAaa_SetStaticFieldValue() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            aaa.setStaticFieldValue(String.class);
        }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top