Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2101 - 2110 of 4,556 for true (0.04 seconds)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      @Throws(IOException::class)
      fun processNextEvent(): Boolean {
        var id = lastId
        var type: String? = null
        val data = Buffer()
    
        while (true) {
          when (source.select(options)) {
            in 0..2 -> {
              completeEvent(id, type, data)
              return true
            }
    
            in 3..4 -> {
              source.readData(data)
            }
    
            in 5..7 -> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/PreauthIntegrityService.java

                this.salt = salt != null ? salt.clone() : new byte[0];
                this.hashAlgorithm = hashAlgorithm;
                this.currentHash = new byte[HASH_SIZE_SHA512]; // Initialize with zeros
                this.isValid = true;
            }
    
            public byte[] getSalt() {
                return salt.clone();
            }
    
            public int getHashAlgorithm() {
                return hashAlgorithm;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/NameServiceClientTest.java

        }
    
        @Test
        void testGetAllByName() throws UnknownHostException {
            // Arrange
            String hostname = "testHostname";
            boolean possibleNTDomainOrWorkgroup = true;
            Address[] expectedAddresses = { mock(Address.class) };
            when(nameServiceClient.getAllByName(hostname, possibleNTDomainOrWorkgroup)).thenReturn(expectedAddresses);
    
            // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. tests/test_request_params/test_body/test_optional_list.py

    # Without aliases
    
    
    @app.post("/optional-list-str", operation_id="optional_list_str")
    async def read_optional_list_str(
        p: Annotated[list[str] | None, Body(embed=True)] = None,
    ):
        return {"p": p}
    
    
    class BodyModelOptionalListStr(BaseModel):
        p: list[str] | None = None
    
    
    @app.post("/model-optional-list-str", operation_id="model_optional_list_str")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/distribution/DockerCloudElasticsearchDistributionType.java

        DockerCloudElasticsearchDistributionType() {}
    
        @Override
        public String getName() {
            return "dockerCloud";
        }
    
        @Override
        public boolean isDocker() {
            return true;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 781 bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/distribution/DockerIronBankElasticsearchDistributionType.java

        DockerIronBankElasticsearchDistributionType() {}
    
        @Override
        public String getName() {
            return "dockerIronBank";
        }
    
        @Override
        public boolean isDocker() {
            return true;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 790 bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/distribution/DockerUbiElasticsearchDistributionType.java

        DockerUbiElasticsearchDistributionType() {}
    
        @Override
        public String getName() {
            return "dockerUbi";
        }
    
        @Override
        public boolean isDocker() {
            return true;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 775 bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/entity/QueryContext.java

         * Checks if role-based query filtering is enabled.
         * @return True if role query is enabled, false otherwise.
         */
        public boolean roleQueryEnabled() {
            return !disableRoleQuery;
        }
    
        /**
         * Disables role-based query filtering for this context.
         */
        public void skipRoleQuery() {
            disableRoleQuery = true;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 21:04:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. tests/chainable_api_test.go

    	}
    	if tx.Statement.TableExpr == nil {
    		t.Fatalf("TableExpr expected to be set")
    	}
    
    	// Distinct + Select
    	tx = tx.Distinct("name", "age")
    	if !tx.Statement.Distinct {
    		t.Fatalf("Distinct expected true")
    	}
    	if len(tx.Statement.Selects) != 2 || tx.Statement.Selects[0] != "name" {
    		t.Fatalf("Selects expected [name age], got %v", tx.Statement.Selects)
    	}
    
    	// Where
    	tx = tx.Where("age = ?", 20)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
Back to Top