Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 1,443 for expected (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

            },
            body,
          ),
      )
    
      init {
        val connectionHeader = headers["Connection"]
        require(body == null || !"upgrade".equals(connectionHeader, ignoreCase = true)) {
          "expected a null request body with 'Connection: upgrade'"
        }
      }
    
      fun header(name: String): String? = headers[name]
    
      fun headers(name: String): List<String> = headers.values(name)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  2. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            packet.readHeaderWireFormat(bais, buffer, 0);
    
            assertEquals(0x1FFFF, packet.length);
        }
    
        // Test for constants
        @Test
        @DisplayName("Constants should have expected values")
        void testConstants() {
            assertEquals(0x00, SessionServicePacket.SESSION_MESSAGE);
            assertEquals(0x81, SessionServicePacket.SESSION_REQUEST);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

              // Checking subtype between declared and actual type bounds
              // adds recursive isSubtypeOf() call and feels complicated.
              // There is no contract one way or another as long as isSubtypeOf() works as expected.
              combined.addAll(asList(typeParam.getBounds()));
              if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound.
                combined.remove(Object.class);
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                    testBlock.setCommand(commands[i]);
                    String result = testBlock.toString();
                    assertTrue(result.contains("command=" + expectedStrings[i]), "Expected: " + expectedStrings[i] + " in result: " + result);
                }
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.cc

      const auto& shape = reader->GetVariableToShapeMap().at(name);
      int rank = shape.dims();
      if (num_dims != rank) {
        status->status = InvalidArgument("Expected rank is ", num_dims,
                                         " but actual rank is ", rank);
        return;
      }
      for (int i = 0; i < num_dims; i++) {
        dims[i] = shape.dim_size(i);
      }
    }
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            socket.sleepWhileOpen(TimeUnit.MINUTES.toNanos(60))
            error("expected timeout")
          }
        }
    
        return true
      }
    
      @Throws(IOException::class)
      private fun readEmptyLine(source: BufferedSource) {
        val line = source.readUtf8LineStrict()
        check(line.isEmpty()) { "Expected empty but was: $line" }
      }
    
      public override fun toString(): String {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      private static final class Reference<T> {
        private @Nullable T value;
    
        @Nullable T get() {
          return value;
        }
    
        void checkAndSet(@Nullable T expected, @Nullable T newValue) {
          if (value != expected) {
            throw new ConcurrentModificationException();
          }
          value = newValue;
        }
    
        void clear() {
          value = null;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  8. docs/site-replication/run-sse-kms-object-replication.sh

    	exit_1
    fi
    if [ "${src_obj4_md5}" != "${rep_obj4_md5}" ]; then
    	echo "BUG: MD5 checksum of object 'minio2/test-bucket/mpartobj' doesn't match with source. Expected: '${src_obj4_md5}', Found: '${rep_obj4_md5}'"
    	exit_1
    fi
    
    # Check content of replicated objects
    ./mc cat minio2/test-bucket/encrypted --insecure
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. cmd/signature-v4.go

    		return doesPolicySignatureV2Match(formValues)
    	}
    	return doesPolicySignatureV4Match(formValues)
    }
    
    // compareSignatureV4 returns true if and only if both signatures
    // are equal. The signatures are expected to be HEX encoded strings
    // according to the AWS S3 signature V4 spec.
    func compareSignatureV4(sig1, sig2 string) bool {
    	// The CTC using []byte(str) works because the hex encoding
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            factory.setComponentName(null);
    
            try {
                factory.create();
                fail("Should throw exception for null component name");
            } catch (Exception e) {
                // Expected behavior
                assertTrue(true);
            }
        }
    
        /**
         * Test creation with invalid component name
         */
        public void test_create_invalidComponentName() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top