Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 614 for constructs (0.09 sec)

  1. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class FloatsAsListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          return asList(elements);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class IntsAsListGenerator extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
          return asList(elements);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractService.java

       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
      /** Constructor for use by subclasses. */
      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      private val runningAsyncCalls = ArrayDeque<AsyncCall>()
    
      /** Running synchronous calls. Includes canceled calls that haven't finished yet. */
      private val runningSyncCalls = ArrayDeque<RealCall>()
    
      constructor(executorService: ExecutorService?) : this() {
        this.executorServiceOrNull = executorService
      }
    
      internal fun enqueue(call: AsyncCall) {
        this.withLock {
          readyAsyncCalls.add(call)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. internal/hash/reader_test.go

    	r, err := NewReader(context.Background(), src, size, md5Hex, sha256Hex, actualSize)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return r
    }
    
    // Tests NewReader() constructor with invalid arguments.
    func TestHashReaderInvalidArguments(t *testing.T) {
    	testCases := []struct {
    		desc              string
    		src               io.Reader
    		size              int64
    		actualSize        int64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class BytesAsListGenerator extends TestByteListGenerator {
        @Override
        protected List<Byte> create(Byte[] elements) {
          return asList(elements);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class LongsAsListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          return asList(elements);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    	)
    
    	var unescapedQueries []string
    	unescapedQueries, err = unescapeQueries(encodedQuery)
    	if err != nil {
    		return ErrInvalidQueryParams
    	}
    
    	// Extract the necessary values from presigned query, construct a list of new filtered queries.
    	for _, query := range unescapedQueries {
    		keyval := strings.SplitN(query, "=", 2)
    		if len(keyval) != 2 {
    			return ErrInvalidQueryParams
    		}
    		switch keyval[0] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
      /** Constructor for use by subclasses. */
      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * building, it is still possible to change the options used to build the ThreadFactory and/or
       * build again. State is not shared amongst built instances.
       *
       * @return the fully constructed {@link ThreadFactory}
       */
      public ThreadFactory build() {
        return doBuild(this);
      }
    
      // Split out so that the anonymous ThreadFactory can't contain a reference back to the builder.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top