Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,187 for _clone (0.04 sec)

  1. internal/config/batch/batch.go

    // would wait before working on next object.
    func (opts Config) KeyRotationWait() time.Duration {
    	configMu.RLock()
    	defer configMu.RUnlock()
    
    	return opts.KeyRotationWorkersWait
    }
    
    // Clone returns a copy of Config value
    func (opts Config) Clone() Config {
    	configMu.RLock()
    	defer configMu.RUnlock()
    
    	return Config{
    		ReplicationWorkersWait: opts.ReplicationWorkersWait,
    		KeyRotationWorkersWait: opts.KeyRotationWorkersWait,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/BaseEncoding.java

                  return read == 0 ? -1 : read;
                }
                buf[i] = (byte) b;
              }
              return i - off;
            }
    
            @Override
            public void close() throws IOException {
              reader.close();
            }
          };
        }
    
        @Override
        public BaseEncoding omitPadding() {
          return (paddingChar == null) ? this : newInstance(alphabet, null);
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
            return contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Sets the sequence number for this heartbeat.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        server.listener.assertExhausted()
        server.source.close()
        client.source.close()
        taskFaker.runTasks()
        server.webSocket!!.tearDown()
        client.webSocket!!.tearDown()
        taskFaker.close()
      }
    
      @Test
      fun close() {
        client.webSocket!!.close(1000, "Hello!")
        // This will trigger a close response.
        assertThat(server.processNextFrame()).isFalse()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

         */
        @Test
        void testClose_multipleTimes() {
            doNothing().when(smbTree).close();
    
            smbTree.close();
            smbTree.close();
            smbTree.close();
    
            verify(smbTree, times(3)).close();
        }
    
        /**
         * Test for close() method throwing exception.
         * Verifies behavior when close throws an exception.
         */
        @Test
        void testClose_throwsException() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. internal/s3select/sql/record.go

    	// Can return a different record type.
    	Set(name string, value *Value) (Record, error)
    	WriteCSV(writer io.Writer, opts WriteCSVOpts) error
    	WriteJSON(writer io.Writer) error
    
    	// Clone the record and if possible use the destination provided.
    	Clone(dst Record) Record
    	Reset()
    
    	// Returns underlying representation
    	Raw() (SelectObjectFormat, any)
    
    	// Replaces the underlying data
    	Replace(k any) error
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. internal/config/subnet/config.go

    		// inputs not performing any network calls.
    		return cfg, nil
    	}
    
    	// Make sure to clone the transport before editing the ProxyURL
    	if proxyURL != nil {
    		if tr, ok := transport.(*http.Transport); ok {
    			ctransport := tr.Clone()
    			ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL))
    			cfg.transport = ctransport
    		}
    	} else {
    		cfg.transport = transport
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. util/update_snapshot_docs.sh

    #!/bin/bash
    
    set -e -u
    
    echo "Publishing Javadoc and JDiff..."
    
    cd $HOME
    git clone -q -b gh-pages "https://x-access-token:${GITHUB_TOKEN}@github.com/google/guava.git" gh-pages > /dev/null
    cd gh-pages
    
    git config --global user.name "$GITHUB_ACTOR"
    git config --global user.email "$******@****.***"
    
    ./updaterelease.sh snapshot
    
    git push -fq origin gh-pages > /dev/null
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Mar 16 16:48:28 UTC 2021
    - 439 bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSet.java

          if (!set.isPartialView()) {
            return set;
          }
        } else if (elements instanceof EnumSet) {
          EnumSet<?> clone = ((EnumSet<?>) elements).clone();
          ImmutableSet<?> untypedResult = ImmutableEnumSet.asImmutable(clone);
          /*
           * The result has the same type argument we started with. We just couldn't express EnumSet<E>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  10. internal/s3select/json/record.go

    	return nil, errors.New("not implemented here")
    }
    
    // Reset the record.
    func (r *Record) Reset() {
    	if len(r.KVS) > 0 {
    		r.KVS = r.KVS[:0]
    	}
    }
    
    // Clone the record and if possible use the destination provided.
    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    		other = &Record{}
    	}
    	if len(other.KVS) > 0 {
    		other.KVS = other.KVS[:0]
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top