Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1581 - 1590 of 7,083 for returned (0.11 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        public ReferenceEntry<K, V> getNext() {
          return next;
        }
    
        @Override
        public int getHash() {
          return hash;
        }
    
        @Override
        public K getKey() {
          return key;
        }
    
        private long accessTime = Long.MAX_VALUE;
    
        @Override
        public long getAccessTime() {
          return accessTime;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. cmd/metacache-set_gen.go

    		return
    	}
    	// write "pool"
    	err = en.Append(0xa4, 0x70, 0x6f, 0x6f, 0x6c)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.pool)
    	if err != nil {
    		err = msgp.WrapError(err, "pool")
    		return
    	}
    	// write "set"
    	err = en.Append(0xa3, 0x73, 0x65, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.set)
    	if err != nil {
    		err = msgp.WrapError(err, "set")
    		return
    	}
    	return
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectMissing(e3());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAtIndex_nullSupported()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        return classInfo(cls, cls.getClassLoader());
      }
    
      private static ClassInfo classInfo(Class<?> cls, ClassLoader classLoader) {
        String resource = cls.getName().replace('.', '/') + ".class";
        return new ClassInfo(FILE, resource, classLoader);
      }
    
      private static Manifest manifestClasspath(String classpath) throws IOException {
        return manifest("Class-Path: " + classpath + "\n");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
              return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left);
            case CLOSED:
              return aggr.treeAggregate(node.left);
          }
          throw new AssertionError();
        } else {
          return aggr.treeAggregate(node.left)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Predicate.java

     * officially discouraged.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Predicate<T extends @Nullable Object> {
      /**
       * Returns the result of applying this predicate to {@code input} (Java 8+ users, see notes in the
       * class documentation above). This method is <i>generally expected</i>, but not absolutely
       * required, to have the following properties:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. tests/gorm_test.go

    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/bytes/boundary_test.go

    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    // operating systems.
    
    // dangerousSlice returns a slice which is immediately
    // preceded and followed by a faulting page.
    func dangerousSlice(t *testing.T) []byte {
    	pagesize := syscall.Getpagesize()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 30 20:05:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

         *
         * @param id
         * @param url
         * @return
         */
        private ArtifactRepository getRepo(String id, String url) {
            return repositorySystem.createArtifactRepository(id, url, new DefaultRepositoryLayout(), null, null);
        }
    
        /**
         * Build an ArtifactRepository object.
         *
         * @param id
         * @return
         */
        private ArtifactRepository getRepo(String id) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        val c1 = factory.newConnection(pool, routeA1, 50L)
    
        // Running at time 50, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(50L)).isEqualTo(100L)
        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
    
        // Running at time 60, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(60L)).isEqualTo(90L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top