Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 720 for preserved (0.04 sec)

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

            String longDelimiter = "=".repeat(100);
            String result = StringUtil.join(longDelimiter, "A", "B");
            assertEquals("A" + longDelimiter + "B", result);
        }
    
        @Test
        @DisplayName("Should preserve element order")
        void testJoinPreservesOrder() {
            String result = StringUtil.join(",", "z", "y", "x", "w", "v");
            assertEquals("z,y,x,w,v", result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/cmd/api/api_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri May 02 17:06:27 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/BufferCacheImplTest.java

                assertThrows(NegativeArraySizeException.class, impl::getBuffer);
            }
        }
    
        // Heterogeneous buffer sizes: cache should return exactly what was released
        @Test
        @DisplayName("Cache preserves and returns original buffer instances of varying sizes")
        void returnsExactReleasedInstances() {
            BufferCacheImpl impl = new BufferCacheImpl(3, 8);
            byte[] s1 = new byte[2];
            byte[] s2 = new byte[7];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            SMBUtil.writeInt2(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, buffer, ctxOffset);
            SMBUtil.writeInt2(38, buffer, ctxOffset + 2); // Data length
            ctxOffset += 8; // Skip reserved
    
            // Hash algorithm count and salt length
            SMBUtil.writeInt2(1, buffer, ctxOffset);
            SMBUtil.writeInt2(32, buffer, ctxOffset + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/mips.s

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input was created by taking the mips64 testcase and modified
    // by hand.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    
    	//inst:
    	//
    	// load ints and bytes
    	//
    	//	LMOVW rreg ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/mips64.s

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input was created by taking the ppc64 testcase and modified
    // by hand.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    //
    // branch
    //
    //	LBRA rel
    //	{
    //		outcode(int($1), &nullgen, 0, &$2);
    //	}
    	BEQ	R1, 2(PC)
    label0:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. misc/cgo/gmp/gmp.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    An example of wrapping a C library in Go. This is the GNU
    multiprecision library gmp's integer type mpz_t wrapped to look like
    the Go package big's integer type Int.
    
    This is a syntactically valid Go program—it can be parsed with the Go
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * Object#toString}.
       */
      NON_STANDARD_TOSTRING,
    
      /**
       * Indicates that the constructor or factory method of a collection, usually an immutable set,
       * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of
       * collapsing them to a single element or including duplicate instances in the collection.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      SUPPORTS_ADD,
      SUPPORTS_REMOVE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            int bytesRead = readPacket.readTrailerWireFormat(bais, readBuffer, 10);
    
            assertEquals(written, bytesRead);
        }
    
        @Test
        @DisplayName("Full write and read cycle should preserve data")
        void testFullWriteReadCycle() throws IOException {
            // Create original packet
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top