Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1021 - 1030 of 1,612 for EXPECTED (0.06 seconds)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

                init.setContextFlag(NegTokenInit.INTEGRITY, true);
                init.setContextFlag(NegTokenInit.CONFIDENTIALITY, true);
    
                int expected = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY | NegTokenInit.CONFIDENTIALITY;
                assertEquals(expected, init.getContextFlags());
    
                // Verify each flag individually
                assertTrue(init.getContextFlag(NegTokenInit.DELEGATION));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

                            true -> Optional.of(entry.value)
                            false -> Optional.empty()
                        }
                    }.orElse(provider {
                        throw GradleException("Expected boolean flag to be configured")
                    })
                }
                .reduce { acc, next ->
                    acc.zip(next) { left , right ->
                        when {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

            assertEquals(3, encodedLen, "Encoded length should be equal to the specified length");
    
            // Verify content
            assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset");
        }
    
        @Test
        void testEncodeWithOffset() {
            // Test encoding with a destination offset
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. internal/bucket/lifecycle/evaluator.go

    func (e *Evaluator) Eval(objs []ObjectOpts) ([]Event, error) {
    	if len(objs) == 0 {
    		return nil, nil
    	}
    	if len(objs) != objs[0].NumVersions {
    		return nil, fmt.Errorf("number of versions mismatch, expected %d, got %d", objs[0].NumVersions, len(objs))
    	}
    	return e.eval(objs, time.Now().UTC()), nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. .github/workflows/multipart/migrate.sh

    	fi
    
    	((attempt++))
    done
    
    status=$(./mc admin group info site1 site-replication-issue-group --json | jq .groupStatus | tr -d '"')
    
    if [[ $status == "enabled" ]]; then
    	echo "Success"
    else
    	echo "Expected status: enabled, actual status: $status"
    	exit 1
    fi
    
    cleanup
    
    ## change working directory
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                assertNotNull(schemaLocation);
                assertTrue(
                        schemaLocation.contains(targetVersion),
                        "Expected " + schemaLocation + " to contain " + targetVersion);
            }
    
            @Test
            @DisplayName("should handle unknown model version in schema location")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. internal/config/storageclass/storage-class.go

    //
    // -- if input is RRS but RRS is not configured/initialized '-1' parity
    //
    //	for RRS is assumed, the caller is expected to choose the right parity
    //	at that point.
    //
    // -- if input is STANDARD but STANDARD is not configured/initialized '-1' parity
    //
    //	is returned, the caller is expected to choose the right parity
    //	at that point.
    func (sCfg *Config) GetParityForSC(sc string) (parity int) {
    	ConfigLock.RLock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

            TopDocs topDocs = new IndexSearcher(reader).search(scriptScoreQuery(factory), 10);
            if (topDocs.scoreDocs[0].score != 1_000_000) {
                throw new AssertionError("Expected score to be 1,000,000 but was [" + topDocs.scoreDocs[0].score + "]");
            }
            return topDocs;
        }
    
        private Query scriptScoreQuery(ScoreScript.Factory factory) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  9. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

            withTimeout(1.seconds) {
              call.executeAsync().use {
                withContext(Dispatchers.IO) {
                  it.body.string()
                }
                fail("No expected to get response")
              }
            }
          }
    
          assertThat(call.isCanceled()).isTrue()
        }
      }
    
      @Test
      fun cancelledCall() {
        runTest {
          server.enqueue(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

      protected @NonNull C cellValue(Character character) {
        return (C) character;
      }
    
      // Only safe wrt. ClassCastException. Not null-safe (can be used to test expected Table NPEs)
      @SuppressWarnings("unchecked")
      protected C nullableCellValue(@Nullable Character character) {
        return (C) character;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top