Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 961 for CALL (0.02 sec)

  1. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              }
            }
          }
        }
        return null;
      }
    
      private static <T> T createEmptyArray(Class<T> arrayType) {
        // getComponentType() is non-null because we call createEmptyArray only with an array type.
        return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple multisets in series.
       *
       * @since 2.0
       */
      public static class Builder<E> extends ImmutableCollection.Builder<E> {
        final Multiset<E> contents;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    // negativeEOFReader returns an invalid -1 at the end, as though it
    // were wrapping the read system call.
    type negativeEOFReader int
    
    func (r *negativeEOFReader) Read(p []byte) (int, error) {
    	if *r > 0 {
    		c := int(*r)
    		if c > len(p) {
    			c = len(p)
    		}
    		for i := 0; i < c; i++ {
    			p[i] = 'a'
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            guard.setSatisfied(true);
            break;
          case SATISFIED_WHILE_WAITING:
            guard.setSatisfied(false);
            enterSatisfyGuardAndLeaveInAnotherThread(); // enter blocks until we call waitFor
            break;
          case UNSATISFIED_BEFORE_AND_WHILE_WAITING:
            guard.setSatisfied(false);
            break;
          case SATISFIED_AND_INTERRUPTED_BEFORE_WAITING:
            guard.setSatisfied(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    }
                    buffer.append(item);
                }
                return buffer.toString();
            }
    
            /**
             * Return the contents in the same format that is used when you call toString() on a List.
             */
            private String toListString() {
                StringBuilder buffer = new StringBuilder();
                buffer.append("[");
                for (Item item : this) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *         .put("one", 1)
       *         .putAll("several", 1, 2, 3)
       *         .putAll("many", 1, 2, 3, 4, 5)
       *         .build();
       * }
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple multimaps in series. Each multimap contains the key-value mappings in the previously
       * created multimaps.
       *
       * @since 2.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            System.arraycopy(stringBytes, 0, buffer, 10, stringBytes.length);
            buffer[10 + stringBytes.length] = 0; // null terminator
    
            // Use reflection to call protected readString method
            Method readStringMethod = getReadStringMethod();
            String result = (String) readStringMethod.invoke(response, buffer, 10, 128, false);
    
            assertEquals(testString, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            response = spy(response);
            when(response.getHeaderStart()).thenReturn(0);
    
            // Make a copy of the buffer
            byte[] bufferCopy = buffer.clone();
    
            // Call readBytesWireFormat
            response.readBytesWireFormat(buffer, bufferIndex);
    
            // Verify buffer wasn't modified except for the decode operations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
        }
    
        @Nested
        @DisplayName("Protected Method Tests")
        class ProtectedMethodTests {
    
            @Test
            @DisplayName("Should call haveResponse on decode")
            void testHaveResponseCalled() throws SMBProtocolDecodingException {
                TestServerMessageBlock2 customMessage = new TestServerMessageBlock2(mockConfig) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        } catch (NoSuchMethodException shouldBeImpossible) {
          // Fine: If it doesn't exist, then there's no chance that we're going to be asked to test it.
        }
    
        /*
         * These methods "should" call checkNotNull. However, I'm wary of accidentally introducing
         * anything that might slow down execution on such a hot path. Given that the methods are only
         * package-private, I feel OK with just not testing them for NPE.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top