Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 964 for wirst (0.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(
            expected, "OtherOrder.FIRST -> MyOrder.THIRD", "MyOrder.THIRD -> OtherOrder.FIRST");
        lockA.lock();
        lock01.unlock();
        lockB.lock();
        lockA.unlock();
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock01.lock());
        checkMessage(
            expected, "LockB -> OtherOrder.FIRST", "LockA -> LockB", "OtherOrder.FIRST -> LockA");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. tests/hooks_test.go

    	}
    
    	if DB.Where("code = ?", "update_callback").First(&Product{}).Error != nil {
    		t.Fatalf("Record Should not be updated due to errors happened in before update callback")
    	}
    
    	if DB.Where("code = ?", "dont_update").First(&Product{}).Error == nil {
    		t.Fatalf("Record Should not be updated due to errors happened in before update callback")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

              node.setNext(oldHead);
              if (casWaiters(oldHead, node)) {
                while (true) {
                  OverflowAvoidingLockSupport.parkNanos(this, remainingNanos);
                  // Check interruption first, if we woke up due to interruption we need to honor that.
                  if (Thread.interrupted()) {
                    removeWaiter(node);
                    throw new InterruptedException();
                  }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            NetServerFileEntryAdapterIterator itr = new NetServerFileEntryAdapterIterator(parent, delegate, null);
    
            // Act & Assert
            assertTrue(itr.hasNext(), "Should have first element ready");
            SmbResource r1 = itr.next();
            assertNotNull(r1, "First adapted resource must not be null");
            // For workgroup/server entries, names end with '/'
            assertTrue(r1.getName().endsWith("/"), "Name should end with '/'");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        consumeEvents(
          """
          |: test stream
          |
          |data: first event
          |id: 1
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "first event"))
      }
    
      @Test
      fun idCleared() {
        consumeEvents(
          """
          |data: first event
          |id: 1
          |
          |data: second event
          |id
          |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. tests/named_argument_test.go

    	DB.Create(&namedUser)
    
    	var result NamedUser
    	DB.First(&result, "name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2"))
    
    	AssertEqual(t, result, namedUser)
    
    	var result2 NamedUser
    	DB.Where("name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2")).First(&result2)
    
    	AssertEqual(t, result2, namedUser)
    
    	var result3 NamedUser
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        void testNextElementFirstCall() {
            Object element = transaction.nextElement();
            assertSame(transaction, element, "First nextElement should return the transaction itself");
        }
    
        @Test
        @DisplayName("Test nextElement() changes command on second call")
        void testNextElementSecondCall() {
            // First call - primary
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            } else if (first != null && second != null) {
                // Both non-null - should be same instance
                assertSame(first, second, "Second getSubject should return same cached instance as first");
            } else {
                fail("Inconsistent behavior: first=" + first + ", second=" + second);
            }
    
            // Third call should return the same cached Subject instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        @Override
        public int compare(@Nullable String first, @Nullable String second) {
          if (first == second) {
            return 0;
          } else if (first == null) {
            return -1;
          } else if (second == null) {
            return 1;
          } else if (first.length() != second.length()) {
            return first.length() - second.length();
          } else {
            return first.compareTo(second);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/SLinkedList.java

            return header.previous;
        }
    
        /**
         * Removes the first element.
         *
         * @return the first element
         */
        public E removeFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            final E first = header.next.element;
            header.next.remove();
            return first;
        }
    
        /**
         * Removes the last element.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top