Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,111 for was (0.01 sec)

  1. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param i the index
       * @param expect the expected value
       * @param update the new value
       * @return true if successful. False return indicates that the actual value was not equal to the
       *     expected value.
       */
      public final boolean compareAndSet(int i, double expect, double update) {
        return longs.compareAndSet(i, doubleToRawLongBits(expect), doubleToRawLongBits(update));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/bytes/reader_test.go

    		}(i)
    	}
    	wg.Wait()
    }
    
    func TestEmptyReaderConcurrent(t *testing.T) {
    	// Test for the race detector, to verify a Read that doesn't yield any bytes
    	// is okay to use from multiple goroutines. This was our historic behavior.
    	// See golang.org/issue/7856
    	r := NewReader([]byte{})
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(2)
    		go func() {
    			defer wg.Done()
    			var buf [1]byte
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

       *     Iterables#getLast} instead.
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> last() {
        // Iterables#getLast was inlined here so we don't have to throw/catch a NSEE
    
        // TODO(kevinb): Support a concurrently modified collection?
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof List) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FluentIterable.java

       *     Iterables#getLast} instead.
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> last() {
        // Iterables#getLast was inlined here so we don't have to throw/catch a NSEE
    
        // TODO(kevinb): Support a concurrently modified collection?
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof List) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeByte(paddingLength)
        frame.write(expectedData)
        frame.write(padding)
        reader.nextFrame(requireSettings = false, assertData())
        // Padding was skipped.
        assertThat(frame.exhausted()).isTrue()
      }
    
      @Test fun readPaddedDataFrameZeroPadding() {
        val dataLength = 1123
        val expectedData = ByteArray(dataLength)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  6. docs/nl/docs/python-types.md

    Op een gegeven moment zou je aan de definitie van de functie zijn begonnen, je had de parameters klaar...
    
    Maar dan moet je “die methode die de eerste letter naar hoofdletters converteert” aanroepen.
    
    Was het `upper`? Was het `uppercase`? `first_uppercase`? `capitalize`?
    
    Dan roep je de hulp in van je oude programmeursvriend, (automatische) code aanvulling in je editor.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertEquals(3, permissions.length);
            assertEquals("Rgroup1", permissions[0]);
            assertEquals("Rgroup2", permissions[1]);
            assertEquals("Utestuser", permissions[2]);
    
            // Verify callback was called
            assertTrue(activityHelperCalled.get());
            assertNotNull(rolesFromCallback.get());
            assertEquals(2, rolesFromCallback.get().length);
    
            // Test that permissions are cached
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            testData.add(createRelatedQuery("test", new String[] { "related1", "related2" }, ""));
            mockBhv.setTestData(testData);
    
            relatedQueryHelper.init();
    
            // Verify that load was called and data is processed
            String[] results = relatedQueryHelper.getRelatedQueries("test");
            assertEquals(2, results.length);
            assertEquals("related1", results[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

      }
    
      @Test
      fun fromJavaNetUrlUnsupportedScheme() {
        // java.net.MalformedURLException: unknown protocol: mailto
        platform.assumeNotAndroid()
    
        // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and
        // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto
        // option to the native-image command.
        platform.assumeNotGraalVMImage()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeBasedTable.java

            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).lastKey();
        }
    
        transient @Nullable SortedMap<C, V> wholeRow;
    
        // If the row was previously empty, we check if there's a new row here every time we're queried.
        void updateWholeRowField() {
          if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top