Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,526 for expected (0.09 sec)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * services are started by some mechanism besides {@link #startAsync}, the listeners will be invoked
     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
     * <p>Here is a simple example of how to use a {@code ServiceManager} to start a server.
     *
     * <pre>{@code
     * class Server {
     *   public static void main(String[] args) {
     *     Set<Service> services = ...;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

     * services are started by some mechanism besides {@link #startAsync}, the listeners will be invoked
     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
     * <p>Here is a simple example of how to use a {@code ServiceManager} to start a server.
     *
     * <pre>{@code
     * class Server {
     *   public static void main(String[] args) {
     *     Set<Service> services = ...;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/parser_test.go

    	}
    	tokens, err := lexer.ConsumeAll(lex)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// for i, t := range tokens {
    	// 	fmt.Printf("%d: %#v\n", i, t)
    	// }
    	if len(tokens) != 7 {
    		t.Fatalf("Expected 7 got %d", len(tokens))
    	}
    }
    
    func TestSelectWhere(t *testing.T) {
    	p := participle.MustBuild(
    		&Select{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    	)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. tests/associations_belongs_to_test.go

    	}
    
    	var parents []ItemParent
    	if err := tx.Find(&parents).Error; err != nil {
    		t.Errorf("failed to find item parent, got error: %v", err)
    	}
    	if len(parents) != 1 {
    		t.Errorf("expected %d parents, got %d", 1, len(parents))
    	}
    
    	// test delete
    	if err := tx.Model(&item).Association("ItemParent").Unscoped().Delete(&parents); err != nil {
    		t.Errorf("failed to delete item parent, got error: %v", err)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String[]> multiset = ImmutableSortedMultiset.orderedBy(comparator).add(array).build();
        Multiset<String[]> expected = HashMultiset.create();
        expected.add(array);
        assertEquals(expected, multiset);
      }
    
      public void testCreation_arrayContainingOnlyNull() {
        String[] array = new String[] {null};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

            } else if (name !in HTTP_2_SKIPPED_RESPONSE_HEADERS) {
              headersBuilder.addLenient(name, value)
            }
          }
          if (statusLine == null) throw ProtocolException("Expected ':status' header not present")
    
          return Response.Builder()
            .protocol(protocol)
            .code(statusLine.code)
            .message(statusLine.message)
            .headers(headersBuilder.build())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top