Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5621 - 5630 of 6,068 for recur2 (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/gorm_test.go

    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    		type user struct {
    			gorm.Model
    			Name string `gorm:"default:null"`
    		}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  2. src/bytes/boundary_test.go

    	if err != nil {
    		t.Fatalf("mprotect low failed %s\n", err)
    	}
    	err = syscall.Mprotect(b[2*pagesize:], syscall.PROT_NONE)
    	if err != nil {
    		t.Fatalf("mprotect high failed %s\n", err)
    	}
    	return b[pagesize : 2*pagesize]
    }
    
    func TestEqualNearPageBoundary(t *testing.T) {
    	t.Parallel()
    	b := dangerousSlice(t)
    	for i := range b {
    		b[i] = 'A'
    	}
    	for i := 0; i <= len(b); i++ {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @Test
            @DisplayName("Should always return 0 for readBytesWireFormat")
            void testReadBytesWireFormat() {
                byte[] buffer = new byte[1024];
                int result = request.readBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of buffer position")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted = storage.encryptCredentials(null);
            assertNull(encrypted, "Encrypting null should return null");
    
            char[] decrypted = storage.decryptCredentials(null);
            assertNull(decrypted, "Decrypting null should return null");
        }
    
        @Test
        public void testEncryptDecryptLongPassword() throws Exception {
            // Test with very long password
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

                this.shouldSucceed = shouldSucceed;
            }
    
            @Override
            protected boolean performReconnection(HandleInfo info) throws Exception {
                if (shouldSucceed) {
                    return true;
                } else {
                    throw new IOException("Simulated reconnection failure");
                }
            }
    
            public void testCreateReconnectionRequest(HandleInfo handle) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

            when(mockedContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
            DefaultLifecycleRegistry reg = new DefaultLifecycleRegistry();
            return new DefaultLifecycles(reg, new DefaultLookup(mockedContainer));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(24, bytesDecoded, "Should return 24 bytes consumed from offset 0");
    
            // Test with different offset
            response = new ValidateNegotiateInfoResponse();
            buffer = new byte[50];
            bytesDecoded = response.decode(buffer, 10, 24);
            assertEquals(24, bytesDecoded, "Should return 24 bytes consumed regardless of offset");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

            .addTrustedCertificate(serverRootCa.certificate)
        if (heldCertificate != null) {
          builder.heldCertificate(heldCertificate, *intermediates)
        }
        val handshakeCertificates = builder.build()
        return clientTestRule
          .newClientBuilder()
          .sslSocketFactory(
            handshakeCertificates.sslSocketFactory(),
            handshakeCertificates.trustManager,
          ).build()
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
            when(project.getName()).thenReturn(projectName);
            return project;
        }
    
        private static String adaptDirSeparator(String path) {
            return path.replace('/', File.separatorChar).replace('\\', File.separatorChar);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  10. cmd/apierrorcode_string.go

    func (i APIErrorCode) String() string {
    	if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) {
    		return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 21.6K bytes
    - Click Count (0)
Back to Top