Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 1,753 for Has (0.1 seconds)

  1. android/guava/src/com/google/common/collect/Ordering.java

     *         .nullsFirst()
     *         .onResultOf(getBarFunction)
     *         .nullsLast();
     * }
     *
     * Note that each chaining method returns a new ordering instance which is backed by the previous
     * instance, but has the chance to act on values <i>before</i> handing off to that backing instance.
     * As a result, it usually helps to read chained ordering expressions <i>backwards</i>. For example,
     * when {@code compare} is called on the above ordering:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Write AndX request message.
     *
     * This command is used to write data to a file that has been
     * previously opened with an Open command.
     */
    public class SmbComWriteAndX extends AndXServerMessageBlock {
    
        private int fid, remaining, dataLength, dataOffset, off;
        private byte[] b;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. cmd/xl-storage.go

    	defer xioutil.SafeClose(updates)
    	var lc *lifecycle.Lifecycle
    
    	// Check if the current bucket has a configured lifecycle policy
    	if globalLifecycleSys != nil {
    		lc, err = globalLifecycleSys.Get(cache.Info.Name)
    		if err == nil && lc.HasActiveRules("") {
    			cache.Info.lifeCycle = lc
    		}
    	}
    
    	// Check if the current bucket has replication configuration
    	var rcfg *replication.Config
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                    this.createContexts = null;
                }
            }
    
            // Set oplock level
            setRequestedOplockLevel(oplockLevel);
        }
    
        /**
         * Check if this request has lease contexts
         * @return true if lease contexts are present
         */
        public boolean hasLeaseContext() {
            if (this.createContexts != null) {
                for (CreateContextRequest ctx : this.createContexts) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

              ),
            body = "/a has moved!",
          ),
        )
        server.enqueue(
          MockResponse(
            code = 302,
            headers =
              headersOf(
                "Location",
                "/c",
                "Test",
                "Redirect from /b to /c",
              ),
            body = "/b has moved!",
          ),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            assertEquals("Invalid image format", exception.getCause().getCause().getMessage());
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception has serialVersionUID
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test serialization");
    
            // The exception should be serializable as it extends RuntimeException
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

    import java.util.function.Supplier;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract superclass for tests that hash flooding a collection has controlled worst-case
     * performance.
     */
    @GwtIncompatible
    @NullUnmarked
    public abstract class AbstractHashFloodingTest<T> extends TestCase {
      private final List<Construction<T>> constructions;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/ASN1UtilTest.java

            assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result);
        }
    
        @Test
        void testReadUnparsedTagged_WrongTag() {
            // Expecting tag 2, but data has tag 1
            byte[] data = new byte[] { (byte) 0xA1, 0x03, 0x01, 0x02, 0x03 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            ASN1InputStream ais = new ASN1InputStream(bais);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            Model child = getModel(baseName + "-child");
    
            if (fromRepo) {
                // when model is read from repo, a stream is used, then pomFile == null
                // (has consequences in inheritance algorithm since getProjectDirectory() returns null)
                parent = parent.clone();
                parent.setPomFile(null);
                child = child.clone();
                child.setPomFile(null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. tests/postgres_test.go

    	}
    
    	yasuo := Yasuo{Name: "jinzhu"}
    	if err := DB.Create(&yasuo).Error; err != nil {
    		t.Fatalf("should be able to create data, but got %v", err)
    	}
    
    	if yasuo.ID == "" {
    		t.Fatal("should be able to has ID, but got zero value")
    	}
    
    	var result Yasuo
    	if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Click Count (0)
Back to Top