Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 1,487 for treating (0.04 seconds)

  1. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            retargetAddress = new NbtAddress(null, addr, false, NbtAddress.B_NODE);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/transport/MessageTest.java

    import org.junit.jupiter.api.Test;
    
    class MessageTest {
    
        private Message message;
    
        @BeforeEach
        void setUp() {
            // Create an anonymous implementation of the Message interface for testing
            message = new Message() {
                private boolean retainPayload = false;
                private byte[] rawPayload;
    
                @Override
                public void retainPayload() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/features/AndroidIncompatible.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.features;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/testing/AndroidIncompatible.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.junit.Ignore;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/PeekingIterator.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that supports a one-element lookahead while iterating.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionHelpersExplained#peekingiterator">{@code
     * PeekingIterator}</a>.
     *
     * @author Mick Killianey
     * @since 2.0
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/QueryHelper.java

         */
        public void setDefaultGeoInfo(final GeoInfo defaultGeoInfo) {
            this.defaultGeoInfo = defaultGeoInfo;
        }
    
        /**
         * Generates a unique identifier string by creating a UUID and removing hyphens.
         *
         * @return a unique identifier string
         */
        public String generateId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. tests/hooks_test.go

    	tx.Statement.Where("owner != ?", "admin")
    	return
    }
    
    func TestUseDBInHooks(t *testing.T) {
    	DB.Migrator().DropTable(&Product2{})
    	DB.AutoMigrate(&Product2{})
    
    	product := Product2{Name: "Invalid", Price: 100}
    
    	if err := DB.Create(&product).Error; err == nil {
    		t.Fatalf("should returns error %v when creating product, but got nil", err)
    	}
    
    	product2 := Product2{Name: "Nice", Price: 100}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
Back to Top