Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,199 for expectGet (0.1 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        Multiset<String[]> multiset = ImmutableMultiset.<String[]>of(array);
        Multiset<String[]> expected = HashMultiset.create();
        expected.add(array);
        assertEquals(expected, multiset);
      }
    
      public void testCreation_arrayContainingOnlyNull() {
        @Nullable String[] array = new @Nullable String[] {null};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                    } else {
                        line
                    }
                }
            )
            require(lineFound) {
                "File '$docFile' does not contain the expected Kotlin compatibility line"
            }
        }
    
        private
        fun DocumentBuilderFactory.fetchFirstAndLatestsOfEachMinor(minimumSupported: String, mavenMetadataUrl: String): List<String> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            this.digest.reset();
    
            int flags = SMBUtil.readInt4(data, offset + 16);
            if ( ( flags & ServerMessageBlock2.SMB2_FLAGS_SIGNED ) == 0 ) {
                log.error("The server did not sign a message we expected to be signed");
                return true;
            }
    
            byte[] sig = new byte[SIGNATURE_LENGTH];
            System.arraycopy(data, offset + SIGNATURE_OFFSET, sig, 0, SIGNATURE_LENGTH);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  4. cmd/os_other.go

    				// Ignore symlinked directories.
    				if !opts.followDirSymlink && fi.IsDir() {
    					continue
    				}
    			}
    
    			if fi.IsDir() {
    				// Append SlashSeparator instead of "\" so that sorting is achieved as expected.
    				entries = append(entries, fi.Name()+SlashSeparator)
    			} else if fi.Mode().IsRegular() {
    				entries = append(entries, fi.Name())
    			}
    			if opts.count > 0 {
    				remaining--
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

          if (logger.isLoggable(FINE)) logger.fine(format("<< CONNECTION ${connectionPreface.hex()}"))
          if (CONNECTION_PREFACE != connectionPreface) {
            throw IOException("Expected a connection header but was ${connectionPreface.utf8()}")
          }
        }
      }
    
      @Throws(IOException::class)
      fun nextFrame(
        requireSettings: Boolean,
        handler: Handler,
      ): Boolean {
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

                    for (i in 0..9) {
                      sink.writeByte(0)
                      sink.flush()
                      sleep(100)
                    }
                    fail("Expected connection to be closed")
                  }
                },
              )
              .build(),
          )
        interruptLater(500)
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

          }
          try {
            int maxSize = digest.getDigestLength();
            new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName);
            fail();
          } catch (IllegalArgumentException expected) {
          }
        } catch (NoSuchAlgorithmException nsae) {
          throw new AssertionError(nsae);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                while (parser.getEventType() == XmlPullParser.START_TAG) {
                    final String pos = parser.getPositionDescription();
                    Logs.warn("Expected TEXT, not XML: {}", pos, new Throwable());
                    parser.skipSubTree();
                    parser.nextTag();
                }
                return "";
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
         * Inputs are <every possible 10-character string of characters "a./">
         *
         * Expected outputs are generated by the code itself, but they've been
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
         * Inputs are <every possible 10-character string of characters "a./">
         *
         * Expected outputs are generated by the code itself, but they've been
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top