Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 4,619 for _new (0.29 sec)

  1. src/arena/arena.go

    	runtime_arena_arena_Free(a.a)
    	a.a = nil
    }
    
    // New creates a new *T in the provided arena. The *T must not be used after
    // the arena is freed. Accessing the value after free may result in a fault,
    // but this fault is also not guaranteed.
    func New[T any](a *Arena) *T {
    	return runtime_arena_arena_New(a.a, reflectlite.TypeOf((*T)(nil))).(*T)
    }
    
    // MakeSlice creates a new []T with the provided capacity and length. The []T must
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            ASN1EncodableVector authVector = new ASN1EncodableVector();
            ASN1EncodableVector elementVector = new ASN1EncodableVector();
            elementVector.add(new DERTaggedObject(0, new ASN1Integer(1))); // authType
            elementVector.add(new DERTaggedObject(1, new DEROctetString(new byte[] { 0x01, 0x02 }))); // authData
            authVector.add(new DERSequence(elementVector));
    
            byte[] token = new DERSequence(authVector).getEncoded();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
            cmd = new SmbComQueryInformation(mockConfig, "testfile.txt");
        }
    
        @Test
        @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string")
        void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException {
            byte[] buffer = new byte[50];
            int used = cmd.writeBytesWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            NetShareEnumResponse response = new NetShareEnumResponse();
    
            // Manually set parameters that would be read by readParametersWireFormat
            response.numEntries = 2;
            byte[] params = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00 };
            response.readParametersWireFormat(params, 0, params.length);
    
            // Data block: 2 entries
            byte[] data = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

                capturedSessionId = sessionId;
                capturedCmdList = new ArrayList<>(cmdList);
    
                ProcessBuilder pb = new ProcessBuilder(cmdList);
                pbConsumer.accept(pb);
                capturedDirectory = pb.directory();
                capturedEnvironment = new HashMap<>(pb.environment());
    
                return new TestJobProcess(exitValue, processOutput);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

                    default:
                        throw new UnknownHostException(hostname);
                    }
                    final UniAddress[] addrs = new UniAddress[1];
                    addrs[0] = new UniAddress(addr);
                    return addrs; // Success
                } catch (final IOException ioe) {
                    // Failure
                }
            }
            throw new UnknownHostException(hostname);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

        private final ConcurrentMap<String, ChannelGroup> sessionChannels = new ConcurrentHashMap<>();
        private final ExecutorService channelExecutor;
        private final ScheduledExecutorService healthCheckExecutor;
    
        // Statistics
        private final AtomicLong totalRequests = new AtomicLong(0);
        private final AtomicLong totalChannelsCreated = new AtomicLong(0);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

        private KeyMatchHelper keyMatchHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            keyMatchHelper = new KeyMatchHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            ComponentUtil.register(new VirtualHostHelper(), "virtualHostHelper");
        }
    
        public void test_init() {
            try {
                keyMatchHelper.init();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            });
    
            ComponentUtil.register(new KeyMatchHelper() {
                @Override
                public void update() {
                    // Mock update
                }
            }, "keyMatchHelper");
    
            crawlJob.webConfigIds(new String[] { "web1", "web2" });
            crawlJob.fileConfigIds(new String[] { "file1" });
            crawlJob.dataConfigIds(new String[] { "data1", "data2", "data3" });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
            StopwordsItem item4 = new StopwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
            assertEquals(item1.hashCode(), item2.hashCode());
            assertEquals(item1.hashCode(), item3.hashCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top