Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 689 for rewrite (0.07 sec)

  1. src/bufio/bufio_test.go

    		for j := 0; j < len(bufsizes); j++ {
    			nwrite := bufsizes[i]
    			bs := bufsizes[j]
    
    			// Write nwrite bytes using buffer size bs.
    			// Check that the right amount makes it out
    			// and that the data is correct.
    
    			w.Reset()
    			buf := NewWriterSize(w, bs)
    			context := fmt.Sprintf("nwrite=%d bufsize=%d", nwrite, bs)
    			n, e1 := buf.Write(data[0:nwrite])
    			if e1 != nil || n != nwrite {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    two:
    	RET
    TEXT ·a12(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	JMP one
    two:
    	ORQ R15, R15
    	RET
    one:
    	MOVL $0, R15
    	JMP two
    
    // Ensure 3-arg instructions get GOT-rewritten without errors.
    // See issue 58735.
    TEXT ·a13(SB), 0, $0-0
    	MULXQ runtime·writeBarrier(SB), AX, CX
    	RET
    
    // Various special cases in the use-R15-after-global-access-when-dynlinking check.
    // See issue 58632.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Mar 15 20:45:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. helm/minio/values.yaml

    ##
    ## In addition to default policies [readonly|readwrite|writeonly|consoleAdmin|diagnostics]
    ## you can define additional policies with custom supported actions and resources
    policies: []
    ## writeexamplepolicy policy grants creation or deletion of buckets with name
    ## starting with example. In addition, grants objects write permissions on buckets starting with
    ## example.
    # - name: writeexamplepolicy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (1)
  4. internal/ringbuffer/ring_buffer.go

    	}
    }
    
    // SetBlocking sets the blocking mode of the ring buffer.
    // If block is true, Read and Write will block when there is no data to read or no space to write.
    // If block is false, Read and Write will return ErrIsEmpty or ErrIsFull immediately.
    // By default, the ring buffer is not blocking.
    // This setting should be called before any Read or Write operation or after a Reset.
    func (r *RingBuffer) SetBlocking(block bool) *RingBuffer {
    	r.block = block
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. tests/embedded_struct_test.go

    	AssertEqual(t, err, nil)
    
    	t1 := EmbeddedTag{Name: "embedded_tag"}
    	err = DB.Save(&t1).Error
    	AssertEqual(t, err, nil)
    	if t1.Tag1.Id == 0 {
    		t.Errorf("embedded struct's primary field should be rewritten")
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. internal/lock/lock_windows.go

    		}
    	}
    
    	return &LockedFile{File: f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    	// - we will never clean up that old IP that we "lost"
    	// To fix this we probably need to impl CmdDel + manage our own podUID/IP mapping.
    	if retErr == nil {
    		// Handle node healthcheck probe rewrites
    		_, err = s.addPodToHostNSIpset(pod, podIPs)
    		if err != nil {
    			log.Errorf("failed to add pod to ipset: %s/%s %v", pod.Namespace, pod.Name, err)
    			return err
    		}
    	} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

       ]
      }
     ]
    }`, bucket, bucket))
    
    	// Check that default policies can be overwritten.
    	err = s.adm.AddCannedPolicy(ctx, "readwrite", policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	info, err := s.adm.InfoCannedPolicy(ctx, "readwrite")
    	if err != nil {
    		c.Fatalf("policy info err: %v", err)
    	}
    
    	infoStr := string(info)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/body.md

    Commencez par importer la classe `BaseModel` du module `pydantic` :
    
    {* ../../docs_src/body/tutorial001.py hl[4] *}
    
    ## Créez votre modèle de données
    
    Déclarez ensuite votre modèle de données en tant que classe qui hérite de `BaseModel`.
    
    Utilisez les types Python standard pour tous les attributs :
    
    {* ../../docs_src/body/tutorial001.py hl[7:11] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. docs/fr/docs/python-types.md

    Ce chapitre n'est qu'un **tutoriel rapide / rappel** sur les annotations de type Python.
    Seulement le minimum nécessaire pour les utiliser avec **FastAPI** sera couvert... ce qui est en réalité très peu.
    
    **FastAPI** est totalement basé sur ces annotations de type, qui lui donnent de nombreux avantages.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top